Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Views ------> No deletes?
Message
From
24/10/2003 12:00:24
John Ryan
Captain-Cooker Appreciation Society
Taumata Whakatangi ..., New Zealand
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00842118
Message ID:
00842211
Views:
12
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
Previous
Reply
Map
View

Click here to load this message in the networking platform