how to get before-table handle in dynamic temp-table with tr

Posted by mhtan88 on 10-Nov-2009 03:23

hi all,

because I need to  do

for each tttemp_beforetable:

     if buffer tttemp_beforetable:row-state = row-created then do:

          buffer tttemp_beforetable:save-row-changes().

     end.

end.

due to i have changed to dynamic temp-table. therefore, no more static temp-table with before-table defined.

may i know any way to get the buffer for before-table?

Thank you.

Regards,

TanMH

All Replies

Posted by Admin on 10-Nov-2009 06:11

Check the BEFORE-BUFFER and AFTER-BUFFER propertes of the buffer object handle (and the BEFORE-ROWID and AFTER-ROWID as well).

Posted by mhtan88 on 10-Nov-2009 08:30

Thanks Mike.  it is really hard to find a document regarding this temp-table before buffer.

This thread is closed