[V4Rb 2] converting VSet to VCursor

Ruslan Zasukhin sunshine at public.kherson.ua
Sat Jul 2 23:40:32 CDT 2005


On 7/2/05 9:00 PM, "Charles Yeomans" <yeomans at desuetude.com> 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.

I see what you mean Charles.
If I not mistake such feature request present in Mantis.

I have see similar thing in the 4D.
    
    SetToArray
    ArrayToSet.

4D names a kind of cursor as Set.


-- 
Best regards,

Ruslan Zasukhin
VP Engineering and New Technology
Paradigma Software, Inc

Valentina - Joining Worlds of Information
http://www.paradigmasoft.com

[I feel the need: the need for speed]




More information about the Valentina mailing list