Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Using Deleted() in SQL
Message
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Using Deleted() in SQL
Miscellaneous
Thread ID:
00254376
Message ID:
00254376
Views:
62
First, SET DELETED is OFF. Why does the following SQL not work?
select cust_num, emp_num from customer ;
   where customer.emp_num in ;
   (select empid from employee where deleted())
But the following will find the correct customer records:

use employee order empid
sele 0
use customer
set relation to emp_num into employee
set filter to deleted("employee")
locate

TIA!
Mark McCasland
Midlothian, TX USA
Next
Reply
Map
View

Click here to load this message in the networking platform