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
Title:
What's wrong with this SELECT?
Miscellaneous
Thread ID:
00025329
Message ID:
00025329
Views:
60
I have a table (named test) with a structure like this:

ObjectID n 6
ParentID n 6
Description c 20
...

ParentID refere to other ObjectID in the same table.

I want to select all ObjectID who have there Parent deleted to delete them to.

In my program i delete an item in the test table and, after that, i run this select:

SELECT test.ObjectID ;
FROM Test ;
WHERE test.ParentID IN ;
(SELECT Test.ObjectID FROM Test WHERE DELETED() = .T.);
INTO CURSOR ToDel

Nothing is returned!
What's wrong?
If we exchange an apple, we both get an apple.
But if we exchange an idea, we both get 2 ideas, cool...


Gérald Santerre
Independant programmer - internet or intranet stuff - always looking for contracts big or small :)
http://www.siteintranet.qc.ca
Next
Reply
Map
View

Click here to load this message in the networking platform