RecID from Cursor

Ruslan Zasukhin sunshine at public.kherson.ua
Tue Feb 15 21:39:55 CST 2005


On 2/15/05 9:37 PM, "Chuck Pelto" <cbpelto at pcisys.net> wrote:

>>   curs = db.SqlSelect( SELECT RecID, ... FROM T )
>> 
>>    curs.ULongField( 1 ).value
> 
> It might be. But it certainly isn't (1) blatantly obvious to the casual
> observer [or SQL neophyte] and (2) in the V4RB Reference Manual.

It depend only on your SECLECT list

    SELECT f1, f2, RecId

Then

    curs.ULongField( 3 ).value


> Might want to add a call that it's a bit more easily recognized, e.g.,
> curs.Field("rec_id").Value and put it in the reference manual under
> Class VCursor. Or curs.GetRecID(), as in the Class VBaseObject.

This cannot work, because cursor can be built on few tables.

-- 
Best regards,
Ruslan Zasukhin      [ I feel the need...the need for speed ]
-------------------------------------------------------------
e-mail: ruslan at paradigmasoft.com
web: http://www.paradigmasoft.com

To subscribe to the Valentina mail list go to:
http://lists.macserve.net/mailman/listinfo/valentina
-------------------------------------------------------------




More information about the Valentina mailing list