Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Check for number of digits in a number
Message
 
 
To
26/12/2001 10:49:42
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00598086
Message ID:
00598186
Views:
28
>Hello Nadya.
>
>>>LEN( GETWORDNUM( TRANSFORM( MyNumericValue ), 2, '.' ) )
>
>I tried it in VFP6, but it doesn't have GetWordNum function. I don't remember FoxTools equavalent. Anyway, solutuions based on transform would not work. <<
>
>The FoxTools equivalent is WORDNUM(). IF TRANSFORM() won't work, perhaps you can use something like ALLTRIM( PADL( MyNumericValue, 16 ) ). Hopefully the responses that you have received are enough to give you a good start.

Hi Marcia,

PADL(myNumber,100) was the ticket. I figured this out by myself! :) BTW, we found a behavior change in TRANSFORM() function, which is not mentioned in Help. Check the whole thread for discussion of this problem.

BTW, I'm currently working on Combo in a Grid problem. FoxPro Advisor article is unavailable, so I'm thinking about using Form's KeyPress and checking for ActiveControl. Do you think, it would work?

Thanks a lot in advance.
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform