Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Numeric Overflow
Message
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Numeric Overflow
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01404681
Message ID:
01404681
Vues:
125
Hi Gang...

A colleague here asked me why he was getting a Numeric Overflow on a field of a table. The field was 9,0 9 wide with no decimals.

It was displayed as ****** in the field.

Don't know what the value was going on.

The code that put the value there was...

myvalue = val(right(mystring,6))

replace myfield with myvalue

I tried different combinations for mystring, but could not overflow it...... any ideas what made it overflow on that certain value? Or what the value might be?

Thanks!
Tommy Tillman A+ NetWork+ MCP
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform