Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Those Pesky TextBoxes!
Message
From
07/06/1999 17:39:38
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00227202
Message ID:
00227273
Views:
27
>Hi, I want to show '0000' in a text box as the default value for a text box which should be holding a string, not a numeric value. However, even though I put in XXXX as the input mask, if I put 0000 in the Value field for the default, it truncates to just 0 (zero).
>
>As a point of interest if I put in 999-99-9999 as the input mask, and 000-00-0000 as the value, I get a nicely formatted ssn field. I suppose that is because the hyphens force the field to be a string.
>
>Sigh.
>
>any ideas?
>

Put "0000" or ="0000" as a value. If you put just 0000, it still thinks it's a number. Or just try to build a string of four zeros in the expression builder.

back to same old

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

Click here to load this message in the networking platform