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.