>
>Michael,
>
>RETURN .F. restores the value of the textbox to what it was b efore the Valid was called, RETURN 0 instead.
Thanks, but this change does not seem to work as you advertise in this case (with VFP3.0 - if that matters). When a user enters an invalid date, the invalide date remains - whether I return 0 or .F. - it's just that they cannot get out of the cell until they correct or delete the value manually.
Is it possible I need to refresh the displayed value somehow, or is there some mystical changed behaviour of a date cell in a grid????
Kogo Michael Hogan
"Pinky, are you pondering what I'm pondering?"
I think so Brain, but "Snowball for Windows"?
Ideate Web Site