Dmitry,
There was a cool way of handling this for Y2K issues in Fox2.6 using ON READERROR, this will still work fine to get around the internal date validation. It's a bit mucky as you will need to call a funciton or reference the form using _Screen.ActiveForm etc. Obviously the resulting value needs to be the correct format.
i.e. in the WHEN of the control you can use
ON READERROR <insert validation call here>
Then just reset the ON READERROR when leaving the control (VALID, LOSTFOCUS etc.)
For more info it was an old Fox Advisor article by Christof Lange around 1999? I think.
>I need to supress an internal date validation in the case when grid has a column with datetime source. Instead to validate >date, I want to fire Valid() method of the control.
>Is there way to do such things?
>TIA - Dmitry
- Craig
"If you're not prepared to be wrong, you will never come up with anything original."
- Sir Ken Robinson