Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
INDEXSEEK Bug?
Message
From
09/05/2002 09:11:03
 
 
To
09/05/2002 08:47:16
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00654373
Message ID:
00654409
Views:
22
>
>CREATE DATABASE temp
>CREATE TABLE anytable (pkey I PRIMARY KEY, cChar C(6))
>SELECT anytable
>INDEX ON cChar TAG cChar
>SET ORDER TO pkey
>SET MULTILOCKS ON
>CURSORSETPROP('Buffering',5)
>
>
>Unfortunately, got the exact same results :-(

The issue seems to be that the new record hasn't been committed. If you add a TableUpdate() before the INDEXSEEK(), you get the expected results.

I am a little surprised by this myself, since the whole point of INDEXSEEK() is to be able to search in buffered tables without committing records.

Tamar
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform