>I want to display a message "Invalid date" if the user keys in an invalid date into a text box. The only way I've seen to do this is to bind the text box to a date field, but this text box is on a pop-up dialog box which has no tables. I added a dummy table just to get the validation, but there must be a better way.
>
>thank in advance
Set the initial value of the text box to {}, which is an empty date. This will notify VFP that you want a date entered.
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer