How to update/get updated/inserted row after Buffer-Copy?

Status
Not open for further replies.
N

N.Molderf

Guest
So actualy i want to copy a row from database table to a temp-table which i defined earlier(with LIKE statement), and update some fields, but i dont know how to get this copied row. Here is my procedure

PROCEDURE createCopy:
DEF INPUT PARAMETER prRowid AS ROWID NO-UNDO.
FIND table
WHERE ROWID(table1) = prRowid
NO-LOCK.
BUFFER-COPY table TO tttable
/* here i want to update this field but dont know how to catch it... */
END.


How can i achive it? Thanks.

Continue reading...
 
Status
Not open for further replies.
Top