Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Checking for validity
Message
 
 
To
08/01/2002 17:19:03
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00602270
Message ID:
00602285
Views:
37
>Hi All,
> I am having trouble remembering what code to use to check a text box so that the user can only put in either 'Y' or 'N' and nothing else. There was a neat little line of code that did the trick, commands that everyone knows and I can't remember. Anyone have any ideas?
>Thanks,
Wich one?
* Set textbox property
Inputmask = "Y"  && for logical data
* OR
Format = "M Y,N"  && for character data
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform