Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Numeric Overflow
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
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:
01404686
Vues:
53
>>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!
>
>Something like 9E18, may be?

Yeah... my friend called me over and he showed me the actual value in the field (he had to connect to them and look at the data).... 2011E+10... yikes! Now we have to figure out how that got in there!
Tommy Tillman A+ NetWork+ MCP
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform