Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How can I restrict TextBox values without using combo
Message
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00563635
Message ID:
00563669
Views:
24
>>>I could not find this info in Help on Format, though I remember, I saw it there. I have a field Status in a table, which could be either A or I (Active/Inactive). I don't want to use combobox for this, so I need to restict textbox values. I can do it in KeyPress event, but I want something simpler...
>>>
>>>Could you please help me?
>>
>>A few ideas:
>>- change your label to "Active?" and then use inputmask Y on the textbox to restrict to Y or N
>
>>- use a checkbox. Check indicates Active, no check in InActive
>
>I thought, that CheckBox could be always bound to Logical field, while this field is Char1. If I left it unbinding, I have to write some code...

I didn't realize that you couldn't change the table field.
Previous
Reply
Map
View

Click here to load this message in the networking platform