Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
What's wrong with this SELECT?
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00025329
Message ID:
00025365
Views:
31
>>>>SELECT ObjectID ;
>>>>FROM Test t1;
>>>>WHERE (not DELETED()) and (t1.ParentID IN ;
>>>>(SELECT ObjectID FROM Test t2 WHERE DELETED()));
>>>>INTO CURSOR ToDel
>>>>
>>>>Vlad
>>>
>>>SET DELETED is OFF
>>>
>>>I add the "= .T." to keep the SELECT more readable.
>>>
>>>I tryed your's but nothing is returned!
>>>
>>>What's wrong?
>>
>>Try to see if the inner SELECT returns something. It does not depend on the outer SELECT.
>>
>>Do you have deleted records in Test? :)
>>
>>Vlad
>
>Of course, one record is deleted.
>
>I try each parts of this select in "stand alone mode" and each of them work fine. But "team work" does not do the job...
>
>I think about some little pest with thousand of legs who play with my computer... :-(

What if you put the INTO CURSOR before WHERE?

Vlad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform