Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
To Buffering or not to Buffering
Message
From
10/03/2009 12:14:54
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
09/03/2009 14:42:58
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01386500
Message ID:
01386921
Views:
47
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)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform