Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Using Deleted() in SQL
Message
 
 
To
17/08/1999 08:31:35
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00254376
Message ID:
00255205
Views:
17
>>Bottom line, I was just making sure I had not overlooked some obvious error in my syntax. However, I still see no reason why this should not work. I am going to try a more creative way later tonight.
>
>Let me know if you figurew out a way to do it. I blew most of an afternoon trying to get it to work...

No matter what I do, you have to use 2 queries. The first requires the NOFILTER to guarantee a true cursor is created. If you do not and just a filter is used, you get an error on the second query.

select empid from employee where deleted() into cursor crsIsDel nofilter
select * from customer where emp_num in (select empid from crsIsDel)
Mark McCasland
Midlothian, TX USA
Previous
Reply
Map
View

Click here to load this message in the networking platform