General information
Category:
Coding, syntax & commands
>>>>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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only