Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP bugs on numeric field overflow
Message
From
16/10/2001 15:21:08
 
 
To
16/10/2001 12:53:43
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Miscellaneous
Thread ID:
00567942
Message ID:
00569231
Views:
32
This is very strange. The value in the left always appears as less than the value on the right.

?test.test = test.test && .F.
?test.test < test.test && .T.
?oldval(lcField) = oldval(lcField) && .F.
?oldval(lcField) < oldval(lcField) && .T.

This looks like a bug to me, I passed it up the line. I only see it with fields where a numeric overflow leaves the field with a value of *.
>set multilocks on
>create table test ( test n(1) )
>insert into test values (10)
>use in test
>use test
>cursorsetprop( 'buffering', 5 )
>lcField      = field(1)
>llOtherUser  = oldval(lcField)   <> curval(lcField)
>llThisUser   = evaluate(lcField) <> oldval(lcField)
>* Why llOtherUser and llThisUser are both .T. ?
>assert !llOtherUSer
>assert !llThisUSer
>
Jim Saunders
Microsoft
This posting is provided “AS IS”, with no warranties, and confers no rights.
Previous
Reply
Map
View

Click here to load this message in the networking platform