Information générale
Catégorie:
Codage, syntaxe et commandes
>>Ernie,
>>
>>Adding to what Barbara said. . . you must also ensure that you have CONFIRM set OFF.
>>
>>Cheers,
>>Jim N
>>
>>>>Is there a property that can be set *somewhere* that will globally cause the cursor to exit a textbox field when the maximum amount of data allowed has been entered? You know, say a phone number with 10 digits ... after the 10th digit is entered, I would like the cursor to move to the next control. (Pretty common, but for the life of me, I can't find what makes that happen.)
>>>>
>>>>Please and thanks.
>>>
>>>Ernie, check the FORMAT and INPUTMASK properties of the textbox control. You should be able to handle everything you want with these - telephone numbers, social security numbers, etc.
>>>
>>>Barbara
>
>Thanks for your input. I've tried playing with FORMAT, INPUTMASK, MAXLENGTH, and making sure SET("CONFIRM") = OFF but I'm still having trouble making this work. I must still be missing something. Inputmask is (999) 999-9999, Maxlength is 10, and Format is KZ. Could there be an overriding property elsewhere? Baffled.
>
>Ernie
Create a Inputmask table 'tMask' with a character field 'cphmsk' Set the field's value to '9999999999'. Then in the Textbox inputmask property type '=tMask.cphmsk'. Note that table 'tMask' must be open when the form containing the textbox is displayed.
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement