Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Formatting problems with R in TextBox controls.
Message
 
À
07/02/1997 12:03:46
Gino Miceli
Lan Professionals, Inc.
Bay Shore, New York, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00019594
Message ID:
00019597
Vues:
45
>Hello All...
>I am letting the user enter a zip in a textbox. Format="K" and InputMask="99999-9999". I want the zip code to be saved to the tables as "11784-1234". This works fine, but when the user types "11784" without the 4 digit extension, it saves "11784-". How can I prevent this from happening?

In the VALID method check for len(trim(zipfield)). If it's 6, then save the substr(zipfield,1,5).

Barbara
Barbara Paltiel, Paltiel Inc.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform