Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Delete Command not working.
Message
From
11/02/2010 12:19:34
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
 
To
11/02/2010 09:38:47
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01448767
Message ID:
01448812
Views:
36
>>It is not supposed to be showing when Set("Deleted")="ON". With off, everything shows. Also, the scope of the settings is "all aliases in the current data session", not per table.
>>

>Well when buffering mode is on PEssimistic. even if set deleted is On it does get deleted but "Comes back" when the form is loaded again. but buffering mode 0 seemed to take care of that.

Buffering 0 means you write directly to the table - no way to undo if user clicks Cancel (and they expect to have a functional cancel button for the last 20 years). With table buffering, it isn't written into the table until you explicitly call tableupdate() for each table in need of salvation. With row buffering, it is updated when you move the record pointer in that table, when it calls tableupdate() behind your back. So if it comes back, it means the change in the buffer didn't get written into the source table on disk.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Reply
Map
View

Click here to load this message in the networking platform