diff --git a/at/at0400.cpp b/at/at0400.cpp index 5eab17183..88ce40689 100755 --- a/at/at0400.cpp +++ b/at/at0400.cpp @@ -231,6 +231,8 @@ bool TGestioneConvocazioni::dataini_handler(TMask_field& f, KEY k) if (f.to_check(k)) { const TDate data = f.get(); + if (data > f.mask().get_date(F_DATA)) + return f.error_box("ATTENZIONE! La data iniziale non puo' essere superiore alla data finale"); const int giorno = data.wday(); TString16 datagio = ""; switch (giorno)