atuldalvi Member Jul 21, 2011 #1 I want to pass a current record buffer of temp table to a procedure. Such as do i =1 to 10: create TT. assign Custno = 1. run procedure(current record buffer). end. is it possible.
I want to pass a current record buffer of temp table to a procedure. Such as do i =1 to 10: create TT. assign Custno = 1. run procedure(current record buffer). end. is it possible.
jmac13 Member Jul 21, 2011 #2 you can assign a handle to point at ur table.. then use BUFFER-FIELD and buffer-value commands to help you get what you want Code: define var hanHeaderBuffer as handle. hanHeaderBuffer = buffer TT:buffer handle. run procedure(hanHeaderBuffer).
you can assign a handle to point at ur table.. then use BUFFER-FIELD and buffer-value commands to help you get what you want Code: define var hanHeaderBuffer as handle. hanHeaderBuffer = buffer TT:buffer handle. run procedure(hanHeaderBuffer).
rzr Member Jul 21, 2011 #3 RUN procedure (TABLE TT). and in the internal procedure, define an input parameter for this temp-table, the help page for DEFINE PARAMETER has the syntax on how to do it..
RUN procedure (TABLE TT). and in the internal procedure, define an input parameter for this temp-table, the help page for DEFINE PARAMETER has the syntax on how to do it..