Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Fsize()
Message
From
02/11/1999 11:53:50
 
 
To
02/11/1999 09:30:39
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00285443
Message ID:
00285511
Views:
17
>I'd like to be able to set an inputmask on "Numeric" fields using
>
>=(replicate('9',fsize(V_POSITM.ITEM)))
>
>based upon the size of the undelying field. KeyNbr(N 12.2) fsize('Keynbr') returns 12. Is there a way I can get the 12.2?
>
>TIA
>Mike

You can use AFIELDS() into an array and scan that array for the field in question. Then you can see how many decimal places it has.
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Previous
Reply
Map
View

Click here to load this message in the networking platform