[V4Rb 2] converting VSet to VCursor

Charles Yeomans yeomans at desuetude.com
Sat Jul 2 14:00:06 CDT 2005


On Jul 2, 2005, at 1:26 PM, Ivan Smahin wrote:

> Hello Charles,
>
> Saturday, July 2, 2005, 8:00:09 PM, you wrote:
>
> CY> Once I have a VSet, I'd like to then get a VCursor to get the 
> fields I
> CY> want for the found set of records.  Is there a way to do it other 
> than
> CY> "SELECT * FROM Table1 WHERE recID IN (recid1, recID2, ..., 
> recID500)"?
>
> Why not? You can mention RecID as any other field in the "WHERE" 
> clause.

It seems rather inelegant.  Perhaps we could use a VTable method

Function Cursor(fields() as String, recIDs as VSet) as VCursor.

--------------
Charles Yeomans



More information about the Valentina mailing list