Valentina RecID, LastInserted

Timo Rehmann valentina at pixelrund.de
Tue Mar 14 15:14:16 CST 2006


Ruslan Zasukhin schrieb:
>
> You can use for now
>
>    Cursor.AddRecord()
>
> If you use INSERT then no way for now get its new recID.
>
>
>   
hi ruslan, thanks so far, but it is not absolutely clear to me, yet:

so far i'm using sqlExecute("insert into ...") for inserting new data.

you're approach means to use VCursor-functions to add a new record? will 
addRecord() modify the database directly or do i have to pass the cursor 
to an execute-function??

one more problem/question:

after inserting data into a table i try to use sqlExecute() to add data 
to another table. following error occurs:

Kernel Error: 0x51500
Identifier "content" is not found.

sql1: insert into pages ...
sql2: insert into content...

any ideas?

one more time: thanks + best regards
timo rehmann




More information about the Valentina mailing list