Update

Ruslan Zasukhin sunshine at public.kherson.ua
Fri Aug 29 22:05:05 CDT 2003


on 8/29/03 10:17 PM, Eric Frericks at efrericks at imaginatics.com wrote:

> Ruslan,
> I hate to bother you again, but I have another question.
> 
> If I do an SQL query which returns a cursor such as:
> 
> strSQL =  "Select * From Products where Description = 'Bio-Book'"
> pCursor = app.pObjDataBase.SQLselect(strSQL, kV_Server, kV_ReadWrite,
> kV_Random)
> 
> How do I get the "RecID" so I can add a record in the related "many" Table

Hi Eric,

I believe this is in FAQs on our site.

You need make cursor as

    SELECT RecID, * FROM ...

After adding of record, this field will contain new RecId.

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