Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Include deleted records
Message
 
To
01/11/2000 09:42:02
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00436636
Message ID:
00436664
Views:
10
Kevin,

If this works correctly it's only be accident. SQL will change the current work area at its discretion. The WHERE clause in a join does not filter the cursors in the FROM, but fiters an intermediate cursor. (Which is why adding the alias to the DELETED() probably didn't work).

You might try adding the !DELETED('Table1') to your join condition. I have not tested it, but I think it should work.

OOPS!! Correction below
>
>SELECT table1.*,table2.*;
>FROM table1 LEFT OUTER JOIN table2;
>ON table1.key = table2.key;
>WHERE !DELETED()
Previous
Reply
Map
View

Click here to load this message in the networking platform