Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
To Buffering or not to Buffering
Message
De
10/03/2009 12:14:54
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
À
09/03/2009 14:42:58
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01386500
Message ID:
01386921
Vues:
46
Yes, with buffering, the user can both save and undo the record.

I don't know about faster; but I find it definitely much easier to program, and clearer, than other alternatives. The alternative would be to bind the fields to variables, instead of table fields - and copy when the user presses "Save".

>Thanks Hilmar!
>So you're saying that, when inserting new records, I can do
>an Append Blank, access the new record through ControlSource,
>and then if the user press 'Save' do a tableupdate() or 'Cancel' a
>tablerevert(). Is this what do you want to say?
>If yes, is this 'better'(faster) than doing this with a cursor and then
>do an INSERT Sql to the table?
>I would like to hear from your experience!
>Thanks in advance.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform