Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Deleting and removing at the same time
Message
From
11/08/2003 16:52:09
 
 
To
11/08/2003 15:48:53
Henry Ravichander
RC Management Systems Inc.
Saskatchewan, Canada
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00819031
Message ID:
00819156
Views:
22
>>>>Use SET DELETE ON setting so you wouldn't need NOT DELETED() in your select. Anyway you cannot use NOT DELETED() in multi-table select because it may produce incorrect or unexpected results.
>>>
>>>Thanks Sergey. Another lesson learned:)
>>
>>Keep in mind that SET DELETE ON is scoped to the datasession.
>
>IOW, it has to be reset each time it is need in the IntereactiveChange? Or can I simply place Set Deleted On in the Init event of the form itself?

Put it in the Load event of the form. IF you had any controls bound to a table that had deleted records, the Init is too late to prevent that.
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform