General information
Category:
Coding, syntax & commands
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only