Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VAL( ) function error messages
Message
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
VAL( ) function error messages
Miscellaneous
Thread ID:
00278344
Message ID:
00278344
Views:
39
Does anybody know a workaround for the VAL() function to create an index based on the value of a string field that can have numbers and alpha text in it? If you print the val('123A453') you get the value of 123.00 as it stops at the alpha text portion. This is what I want, the value of the beginning number portion of the field. However, when you issue INDEX ON VAL(fldname) TO indexname you get an error message that data was lost and it does not create the index.

Thanks.
Colombo.
Next
Reply
Map
View

Click here to load this message in the networking platform