Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Views ------> No deletes?
Message
De
24/10/2003 12:00:24
John Ryan
Captain-Cooker Appreciation Society
Taumata Whakatangi ..., Nouvelle Zélande
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00842118
Message ID:
00842211
Vues:
13
Tommy

I guess you could include
iif(deleted(),.t.,.f.) as ldeleted
in your View's SELECT clause, then use ldeleted instead of delete to tell if it is deleted? Various problems have been reported for using DELETED() inside SQL, though. An expression like that above should be OK in a single table view as it will be reevaluated for every row. I have also seen people just pulling deleted() as a field, that may work for you as well.

Regards

JR
"... They ne'er cared for us
yet: suffer us to famish, and their store-houses
crammed with grain; make edicts for usury, to
support usurers; repeal daily any wholesome act
established against the rich, and provide more
piercing statutes daily, to chain up and restrain
the poor. If the wars eat us not up, they will; and
there's all the love they bear us.
"
-- Shakespeare: Coriolanus, Act 1, scene 1
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform