Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
EOF and BOF with Local Views
Message
De
17/02/2015 09:00:47
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Allemagne
 
 
À
17/02/2015 08:44:54
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 7 SP1
OS:
Windows 7
Network:
Windows 2008 Server
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01615325
Message ID:
01615452
Vues:
25
>>>>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]
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform