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:
00745098
Views:
25
Let the controlsource for the txt box be of character type. Then you can do your own validation without VFP gettin in your way. When you have validated your text-date you can put it into the date type variable or field.

Hmm it made more sense before I wrote it. Hope you inderstand my thought process.

Einar

>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?
>TIA.
Semper ubi sub ubi.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform