Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to determine if numeric field have Numeric overflow
Message
De
02/09/1999 04:38:12
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00260498
Message ID:
00260500
Vues:
19
>For some reason some num. fields in my table have numeric overflow,
>I don't know how to prevent the message 'Numeric overflow. Data was lost (Error 39)' when using this field
>
>Thanks in advance
>Zoran Milivojevic
>zoran@dunavel.com
If any field's new value is greater than it could hold you woul dget Numeric overflow. ie: Say you have a field defined as N 3.4 and a calculation tries to set it to 1000 would cause it. Integer field would hold up to 0xFFFFFFFF and 0x100000000 would cause overflow. If your field is type numeric than increase its size to a value that it could hold your maximum possible data. If it's integer, change to double, float or numeric.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform