Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Format vs InputMask
Message
From
01/01/1998 15:44:58
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
 
To
31/12/1997 18:31:05
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00068723
Message ID:
00068817
Views:
31
I have a client who needs to store American, Canadian, Mexican and various European zip/postal codes and phone #s.

I'm can't seem to find a reason for storing Zip codes as XXXXXXXXXX and use a format of R with appropriate InputMask to display/print etc. or actually store it as 89106-1234 or A9X 7D2 in the table itself.

If you keep some table containing state names and other local info, then why not - add the local inputmask string to it and use it. If you don't have this table, then store all the formatting with the codes - but then, how do you expect to add the formatting to the form? You should know the country before applying any local formatting, therefore the first solution seems more logical to me. .Signature { margin-top: 12px; color: #666666; } .Signature a { color: #666666; }

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform