Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to Check For Valid Date Before VFP
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00745078
Message ID:
00745357
Views:
32
>Terry,
>
>Why the lostfocus (instead of valid)?
Valid would do. With lostfocus, you'd have to manage downstream textbox access (focus) with a when event.

>
>>>I have an object with a format of 'KD' and would like to be to check for a valid date before VFP 7 displays its 'invalid date' in a wait window.
>>>The reason is that I would like to generate all validation type messages in our own formatted message box.
>>>Since the user is going to define the format of the date in the application's preferences, the date could be in one of several different format.
>>>What is the easiest way to accomplish this task?
>>Not to use a "D"ate mask. Make it just a text box and do the validation, based on user's preference at lostfocus.
>>
>>>TIA.
Imagination is more important than knowledge
Previous
Reply
Map
View

Click here to load this message in the networking platform