Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Must repeat line of code to get results
Message
 
 
À
15/06/2009 17:33:06
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
01406206
Message ID:
01406244
Vues:
56
It's my strong opinion that SET DELETED should be ON by default in an application. Any deleted record should be considered as none-existent. If application requires to keep deleted records around for whatever reason than such record should have special field to mark it as deleted instead of VFP DELETE. It will be consitent with any other database you can/will use.

>I totally agree that it does not work. If the result is unpredictable, it does not work, simple. In my current job, we work with raw data and I don't build standalone EXEs any more. Everyone works with DELETED = OFF, so that is why I was using DELETED() in the SQL. Well, from now on, any processes that I need to create and run will have DELETED = OFF and I will restore the DELETED value upon exit.
>
>Thank you, Sergey.
>
>David
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform