>I'm trying to input a date on a form and then use it to check what data to process. I've set the input mask to 99/99/9999. Does that tell VFP that the date will be a date? I then check to make sure the date is not blank. I have IF EMPTY(THISFORM.txtMdate) ...
>I get an error message at the IF statement about data type mismatch.
>I need help.
>
>TIA
Ellen,
In the property sheet for your textbox put this in the value property;
={}
this will initialize the value to date type.