Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Detect error NUMERIC OVERFLOW
Message
 
To
23/09/2005 09:16:38
Gerardo Ruggiero
Equipe Informatica
Rome, Italy
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01052345
Message ID:
01052364
Views:
10
Not quite clear, what do you mean, "correct". Do you wish to change the table field structure, or youi do not want to insert the value if its length does not feet the field width?

In any event you need to compare the data length with the field width and to take the appropriate action.

Say, you have the data and field width:
lndata=1000
lnfldwidth = 3

if val(replicate("9",lnfldwidth))>=lndata
* OK, continue
else
* error
endif




>yes.
>J want detect error and correct before that fields become *******
>
>gerry
Previous
Reply
Map
View

Click here to load this message in the networking platform