Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Input mask and format
Message
From
10/11/2000 21:31:31
 
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00440157
Message ID:
00440653
Views:
14
>Hi
>
>I have a numeric field n(11)
>
>I need to show and get input like
>99-99999999-9
>
>What are the setting for inputmask and format?

It needs to be stored as a string (C(11)) with an inputmask '@R 99-99999999-9', and then validated against entry of legal numeric characters such as space, +, . and - before saving.

Unless you do math with it, don't even convert it to a numeric.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Reply
Map
View

Click here to load this message in the networking platform