Information générale
Catégorie:
Gestionnaire d'écran & Écrans
I don't think so. His initial message just said he wanted to replace the message with a message of his own because it was annoying.
Alan
>Yes, it will always show invalid date, but I think the question was that after message "Invalid date" the error comes out and the program crash, but if is SET DATE TO GERMAN than error will not crash program.
>
>>>You should put SET DATE TO GERMAN and those messages will not show.
>>
>>The message will always show if you type in an invalid date. If you SET DATE GERMAN, and type in the date as "05.15.2003", you will get the message. No matter what you set the date to, somebody can always type it in wrong.
>>
>>Alan
>>
>>>
>>>
>>>
>>>>Certain invalid dates cannot be trapped before vfp gives an invalid date message. The only way I know to handle it is to NOT use date types in input text boxes. Use ordinary text in the date text box and write your own date validation code for the valid event. Then change it to a date type for saving into a date field.
>>>>
>>>>Alan
>>>>
>>>> >Hi,
>>>>>
>>>>>I put text box with format property set KD for date input.
>>>>>
>>>>>in operation when invalid date is entered a give 'Invalid date' mesage in upper right corner. this is annoin and i want to replace it with my message end error rutine. how to do this. set notify is off. i tried with valid event but don works.
>>>>>
>>>>>Thanks
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement