Hi,
In an appserver session I create a dynamic temp-table, which is returned as TABLE-HANDLE output parameter to the calling procedure. The goal is to fill a local dynamic temp-table with the records of the TABLE-HANDLE of the output parameter. I don't now which table will be returned by the called appserver procedure, so i create this local temp-table dynamicly, the information on which table the output is based is stored in the second parameter, next code in the calling proc (clientside) illustrates this:
/* Return a filled temp-table in appserver session, which table is
not known */
IF VALID-HANDLE(hProc) THEN
RUN prcFillTT IN hProc
(OUTPUT TABLE-HANDLE hSrvRowObject,
).
My Question is, how can i dynamically create a temp-table in my local client session, based on the OUTPUT TABLE-HANDLE returned from the server ?
Or is there any other solution for this ?
Thanx for any Reponse,
Emmanuel.
In an appserver session I create a dynamic temp-table, which is returned as TABLE-HANDLE output parameter to the calling procedure. The goal is to fill a local dynamic temp-table with the records of the TABLE-HANDLE of the output parameter. I don't now which table will be returned by the called appserver procedure, so i create this local temp-table dynamicly, the information on which table the output is based is stored in the second parameter, next code in the calling proc (clientside) illustrates this:
/* Return a filled temp-table in appserver session, which table is
not known */
IF VALID-HANDLE(hProc) THEN
RUN prcFillTT IN hProc
(OUTPUT TABLE-HANDLE hSrvRowObject,
).
My Question is, how can i dynamically create a temp-table in my local client session, based on the OUTPUT TABLE-HANDLE returned from the server ?
Or is there any other solution for this ?
Thanx for any Reponse,
Emmanuel.