General information
Category:
Coding, syntax & commands
Hi All,
In one of my apps I have a mixture of US and Canadian zipcodes.
I'm trying to setup the InPutMask for the ZipCode field to accommodate the US format if zipcode field = 9 digits. The first example dosen't work because "InputMask" is unknown. The second just dosen't work.
*
IF LEN(RTRIM(ThisForm.PageFrame1.Page1.txtIns_Zip.Value)) = 9
1. ThisForm.PageFrame1.Page1.txtIns_Zip.InputMask.Value = '99999-9999'
2. Transform(ThisForm.PageFrame1.Page1.txtIns_Zip.Value,'99999-9999')
ENDIF
ThisForm.Refresh()
*
This is not a high priorty but suggestions would be appreciated. TIA.
Regards,
Paige
Next
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