Put code in the Valid method.
>Thanks Craig,
>
>that stops the message displaying, but how do I trap for an invalid date and display my own message?
>
>>SET NOTIFY OFF
>>
>>>Hi,
>>>
>>>has anyone ever tried to get rid of the VFP "Invalid Date" message that gets displayed when a user enters an invalid date in a date textbox and replace it with one of their own?
>>>
>>>I'd appreciate any ideas.
>>>
>>>Thanks,
>>>
>>>Frank
'If the people lead, the leaders will follow'
'War does not determine who is RIGHT, just who is LEFT'