Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Data buffering problem
Message
From
22/10/1997 08:37:21
 
 
To
21/10/1997 12:49:22
Matt Mc Donnell
Mc Donnell Software Consulting
Boston, Massachusetts, United States
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00055732
Message ID:
00055987
Views:
29
>>>>
>>>>Why don't you like to have Table buffering, updating table once when finishing all data entry and closing the view?

I tried the table buffering, but the app would freeze up after a couple of edits -- I am forcing a save when the user moves off the record. I think just too much was going on!

>>>
>>>If you need to be able to recover 1 row at a time, why not just circumvent TableRevert altogether and dump (SCATTER) each row to an array which is a property of the form. Then use a GATHER to revert instead of TableRevert. If this is a multi-user app, you'll need to issue an RLOCK() for each rowchange and then an UNLOCK prior to each rowchange
>>>
>>>HTH
>>
>>I used to do something similar, but as usual I prefer cursors, and Matt likes arrays :)
>
>The more things change, the more they stay the same. ;-)

Thanks guys, I'll give this a shot. Arrays, or cursors, makes no difference to me! :)
Previous
Reply
Map
View

Click here to load this message in the networking platform