>I would like to know how anyone is trapping dates for Y2K in VFP 5.
>If I enter a bad date in a date field and try to leave the field, I not only stay in the field, but I can't get an error message to fire at all. If I put field-level rules on the date fields I can't get it to fire: ddatefld <> {}.
>From my insight it seems that the database engine is validating dates before it gets a chance to hit the field-level rule.
>
>I just want a message to appear when the user puts in an invalid date.
Paige,
You are right when you think VFP is checking the data type before any other code runs. You can SET NOTIFY ON and the suer will get an "Invlaid Date" message in the status bar or a wait window if the status bar is shut off.