Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP bugs on numeric field overflow
Message
 
To
12/10/2001 16:07:20
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Miscellaneous
Thread ID:
00567942
Message ID:
00567955
Views:
33
The same behaviour you can find in at least in FoxPro2.5 for DOS and in VFP6.

>I encountered the following two anomalies trying to use VFP 7.
>Can you confirm, are they VFP bugs or not.
>
>Bug 1
>VFP Error does not occur if insert command causes overflow
>
>create table test ( test n(1) )
>insert into test values (10)
>
>
>
>Bug 2
>
>In REPLACE, VFP Error occurs, but data is corrupted
>
>
>create table test ( test n(1) )
>APPEND BLANK
>on error note
>* this line produces error but data is corrupted.
>REPLACE test WITH 10
>on error
>SET ASSERTS ON
>* this assertion fails.
>ASSERT test=0
>
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform