Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Can select records where in a cursor
Message
 
To
All
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Can select records where in a cursor
Miscellaneous
Thread ID:
00615512
Message ID:
00615512
Views:
40
Is is possible to use a cursor as the IN clause of the where clause of a select statement?

I have the following now:
Create Cursor Tasks (taskID I)
Append From Array thisform.snptaskrange1.selecteditems
	
** now build the real cursor
Select * ;
	from rsAllWos ;
	where fk_task_id in (select * from tasks) ;
	into Cursor rsWoTaskSubset
Is there some way to do:
where fk_task_id in (tasks)
Roi
'MCP' Visual FoxPro

In Rome, there was a poem.
About a dog, who found two bone.
He lick the one, he lick the other.
He went pyscho, he drop dead!
Next
Reply
Map
View

Click here to load this message in the networking platform