Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How can I restrict TextBox values without using combo
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00563635
Message ID:
00563669
Vues:
25
>>>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.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform