[V4MD 2] gCursor.RecID

Ruslan Zasukhin sunshine at public.kherson.ua
Fri Apr 8 09:06:31 CDT 2005


On 4/8/05 1:37 AM, "info at vallemediatime.com" <info at vallemediatime.com>
wrote:

Hi Paolo,

> Hi all list
> 
> I don't find in the docs how get the <gCursor.RecID>
> in v1.1 this code works:
> 
> repeat with i = 1 to recCount
> myStudent = string(gCursor.RecID) && member("sF2").text &&
                    ^^^^^^^^^^^^^^^^^
                    this works ???

> member("sF3").text
> myList.append(myStudent)
> gS_Manager.mMoveNext()
> end repeat
> 
> for gCursor.RecID I get Null value
> How can I do this in v2?

Actually you should use this way

    gCursor = db.SqlSelect( "SELECT RecId, f1, f2 ... FROM T" )

And now you can reach RecID to any field of cursor.
RecID field have ULONG type.


-- 
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