Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Using Table Buffering
Message
 
 
To
03/10/2001 15:02:28
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00563798
Message ID:
00563819
Views:
16
>Can someone please tell me if there's a way to use information that has been stored in a table, but not yet committed. In other words, if I have a table that is buffered and I add records with quantities, then I do a SQL - SELECT for a sum of quantities, I only get quantities BEFORE buffering has been turned on. Actually, I want quantities (INCLUDING any changes which haven't been committed)...And, I need them before doing a TABLEUPDATE b/c I still want option to revert table to original state.
>
>I'm sure there should be a way, but can't figure it out.
>
>Thanks,
>
>Victor

SELECT SQL works with the table from disk, so instead of using SQL, you should use COUNT, SUM, SCAN ENSCAN command, which work with uncommited buffers.
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform