Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Deleted()
Message
From
20/03/2000 08:32:53
 
 
To
20/03/2000 04:51:40
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00346297
Message ID:
00347815
Views:
26
>Sorry about the late response.
>
>The select is querying from 2 tables, and I want the first table's undeleted records, and the 2nd tables deleted records.
>
>Is this possible using a SELECT?
>
>Thanks
>Kev

I haven't tried this code, but you could try something like:

SET DELETED OFF
SELECT Field1, Field2 ;
FROM Table1 JOIN Table2 ON Table1.Field3 = Table2.Field4 ;
WHERE !DELETED("Table1") ;
AND DELETED("Table2")

If that doesn't work, you can use two SQL SELECT statements.
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform