Ok, thanks. I noticed that too after I posted my message.
But it goes deeper than that. If you create a textbox that has a date field as a control source, normally you can't enter an invalid date. You get an internally-generated WAIT WINDOW message telling you the date is invalid, and you type in a good date and go on your way. No error is generated.
But with SET DATE SHORT, you enter say 01-01-0100, VFP throws and error and there is apparently no way to trap it. I tried catching it in VALID and the error occurs before VALID gets called.
So if they want to not handle dates before 1600 for SET SHORT, fine. But there are still problems that need to be addressed.
Thanks,
Dennis
>Dennis,
>
>It's documented in VFP help under SET DATE Command.
>
>>Hi--
>>
>>If you issue SET DATE SHORT, VFP no longer handles any dates before
>>{^1601-01-01}. It throws an DATE/DATETIME EVALUATED TO AN INVALID VALUE any time you attempt to use a date prev to 1601 in any way.
>>
>>Are any of you Microsoft guys aware of the problem so it can get fixed?
>>
>>Thanks,
>>
>>Dennis
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only