Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
EOF and BOF with Local Views
Message
From
17/02/2015 09:00:47
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Germany
 
 
To
17/02/2015 08:44:54
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 7 SP1
OS:
Windows 7
Network:
Windows 2008 Server
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01615325
Message ID:
01615452
Views:
51
>>>>Update:
>>>>SET DELETED is argh. There is an other way????
>>>
>>>You can SET DELETED OFF to show deleted records; and this can sometimes be used to recover records that have been deleted accidentally. But I usually find it best to consider deleted records as gone (and keep SET DELETED ON).
>>
>>Hi Hilmar
>>
>>Nothing is more strange then an environment with SET DELETED OFF. SELECT SQL is a awesome then....
>>
>>There are very rare points where I use SET DELETED OFF and REVERT. Some strange debugs involving record delations and the like. Never in production. Thats why I ask if there is any other way the SET DELETED ON. :)
>>
>>Lutz
>
>I don't really think there's an alternative. For instance, you might envision a framework that re-uses deleted records (when adding a record, first check whether there is a deleted record; if there is, re-use it). In that case, the framework will need to temporarily turn SET DELETED OFF. I believe that some frameworks actually do that. However, you will still need to hide deleted records until they are re-used.
>
>OK, you could include the deleted marker in the filter, but the result would be the same - and it would be more complicated.

Come on, you know I'm kidding about SET DELETED. It only was so obvious to me that I missed listing it.
Words are given to man to enable him to conceal his true feelings.
Charles Maurice de Talleyrand-Périgord

Weeks of programming can save you hours of planning.

Off

There is no place like [::1]
Previous
Reply
Map
View

Click here to load this message in the networking platform