Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Buffering and select
Message
From
12/08/1999 14:18:16
 
 
To
12/08/1999 14:13:59
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00252948
Message ID:
00253134
Views:
28
>>>>Mark,
>>>>
>>>>SELECT gets its data from the disk file, the buffered change has not been posted to the disk file. The SELECT won't see the change until the buffer is tableupdated from the cursor.
>>>Yes, but isn't that SELECT uses an open alias?
>>>MArk
>>
>>SELECTS effectively do a USE AGAIN on your alias. It does not use your open alias, therefore it can not see the buffered records.
>So it goes to my hard dirve and open table again?

Yes, I guess that's what must happen. If it were to use your existing alias, image all the problems that would occur with the record pointer being moved all over the place during the select. Internally, SELECT does not use the alias you specify, it uses the it's own for the table. This is also why you can't use RECNO('alias'), etc. type statements for more than one table in a SELECT.
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Previous
Reply
Map
View

Click here to load this message in the networking platform