Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to delete a free table record?
Message
From
17/05/2002 03:28:47
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
17/05/2002 03:23:54
Henry Ravichander
RC Management Systems Inc.
Saskatchewan, Canada
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00658004
Message ID:
00658030
Views:
17
>>Ravi,
>>You have a table buffering and I guess 'delete' is also done with buffering. Put a tableupdate() after delete.
>
>
>Cetin:
>
>Do I also have to have the following in the Init() of the form:
>
>Set Safety Off
>Set Deleted On
>
>TIA.

Set safety is irrelevant.

Set deleted on
would be good not to show deleted records.
PS: Since you use buffering do you really need scatter-gather approach. You might directly use tables and do a tableupdate() to commit (like gather) or tablerevert() to discard. If delete is on a new record you don't need to delete it just tablerevert(). But if that sounds complex you can still use scatter-gather:)
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform