Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Avoid "Invalid date" message
Message
From
04/09/2003 14:05:34
 
 
To
04/09/2003 11:51:34
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00825981
Message ID:
00826139
Views:
26
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform