Sylvain --- In the context of what he's doing are you sure about this?
>>>If you drop a textbox on a for with the value property set to =date() you have a txtbox field that will check for a valid date. If you input a invalid date VFP will display a wait window with "Invalid Date".
>PMFJI, but this won't work neither. It don't even get to the Valid() event.
>
>>The SET NOTIFY-based system messages, I believe, can't be changed. But you can do what you want by SET NOTIFY OFF for the current datasession, then put a WAIT WINDOW NOWAIT with whatever message you like in the Valid event of the textbox. It will "look and feel" the same.
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05