Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Checking a date for null value
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00122726
Message ID:
00122745
Views:
16
>I have a local date variable that I want to check for spaces (user didn't enter a value for the variable) . When I put in the command
> if thisform.msdt = ctod(' / / ')
>I get an error message: operator/operand type mismatch. Why?
>
>Thanks

Jane,

Change the code to;

IF EMPTY(THISFORM.MsDt)
Previous
Reply
Map
View

Click here to load this message in the networking platform