Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Data buffering problem
Message
De
22/10/1997 08:37:21
 
 
À
21/10/1997 12:49:22
Matt Mc Donnell
Mc Donnell Software Consulting
Boston, Massachusetts, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00055732
Message ID:
00055987
Vues:
35
>>>>
>>>>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! :)
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform