Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
C5 & The VAL() Function
Message
 
 
À
12/04/2000 16:26:14
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Divers
Thread ID:
00356619
Message ID:
00359093
Vues:
15
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform