>We have date fields on our forms and when an invalid date is entered by the user, FoxPro displays it's default error 'Invalid date'.
>
>Note that we are not working with the date in character format. It is in a date format versus a character format.
>
>We tried using the Error event but find that VFP's default date edit kicks in first.
>
>We would like to display our own message instead of VFP's message. Anybody have any solutions?
>
>Thanks,
>
>Mario
Return 0 (the number zero) in the VALID method. Also, SET NOTIFY OFF.
Craig
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer