Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Modify InputMask
Message
From
05/05/2000 14:06:47
 
 
To
05/05/2000 13:44:22
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00366553
Message ID:
00366691
Views:
18
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()
**
Previous
Reply
Map
View

Click here to load this message in the networking platform