Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
C5 & The VAL() Function
Message
 
 
To
12/04/2000 16:26:14
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Miscellaneous
Thread ID:
00356619
Message ID:
00359093
Views:
14
Keith,

You can potentially just disable errors or trap that specific error in the Error() method of the object.

Otherwise I'd just do something much easier along the lines of:

llNumericAddress = ( left( cAddress, 1 ) $ "1234567890" )

>You're right David, I just tried the example listed
>above, but the reason I went to the first word was
>that I had one case where the "exponent" was > 1000
>(can't remember the exact address). I get a "numeric
>overflow error". That certainly wasn't the rule and
>there was only one or two records in the file that
>caused the error, but when you're processing a 500K
>record file and get that error on 231K (at about 40 rps)
>it can really put a damper on your day :-)
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Reply
Map
View

Click here to load this message in the networking platform