Hello,
I'm passing a temp-table as parameter to an external procedure. I update the temp-table in proc2 and I want to see the updated fields in proc1, but I can't. It's just 1 record in ordre.
What is wrong here ?
regards
Per
proc1.
def temp-table ordre
.
.
run proc2.p((BUFFER ordre:HANDLE)).
disp ordre with 1 down.
proc2.
DEFINE INPUT PARAMETER lBuffer AS HANDLE NO-UNDO.
def temp-table ordre
.
.
DEFINE VARIABLE lBuffer-b AS HANDLE NO-UNDO.
CREATE ordre.
lBuffer-b = BUFFER ordre:HANDLE.
lBuffer-b:BUFFER-COPY(lBuffer).
updating fields in ordre here..
.
.
.
.
I'm passing a temp-table as parameter to an external procedure. I update the temp-table in proc2 and I want to see the updated fields in proc1, but I can't. It's just 1 record in ordre.
What is wrong here ?
regards
Per
proc1.
def temp-table ordre
.
.
run proc2.p((BUFFER ordre:HANDLE)).
disp ordre with 1 down.
proc2.
DEFINE INPUT PARAMETER lBuffer AS HANDLE NO-UNDO.
def temp-table ordre
.
.
DEFINE VARIABLE lBuffer-b AS HANDLE NO-UNDO.
CREATE ordre.
lBuffer-b = BUFFER ordre:HANDLE.
lBuffer-b:BUFFER-COPY(lBuffer).
updating fields in ordre here..
.
.
.
.