Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Modify InputMask
Message
De
05/05/2000 14:06:47
 
 
À
05/05/2000 13:44:22
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00366553
Message ID:
00366691
Vues:
17
Hi Richard,

Yes that's a good idea but I would have to compare for all state codes and or provinces. I should probably do that anyway in the valid of the State Code field. Thanks for the suggestion. The Following is the LostFocus of the Zip field and the Refresh() of the page

**
With ThisForm.PageFrame1.Page1
*
IF EMPTY(Insured.Ins_Zip)
.txtIns_Zip.InputMask = 'xxxxxxxxxx'
ELSE
IF LEN(RTRIM(Ins_Zip)) = 6
.txtIns_Zip.InputMask = '!9!9!9'
ELSE
.txtIns_Zip.InputMask = '99999-9999'
ENDIF
ENDIF
*
ENDWITH
*
ThisForm.Refresh()
**
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform