[progress Communities] [progress Openedge Abl] Forum Post: Pass Input-output Temp Table...

Status
Not open for further replies.
N

nborshukov

Guest
Hello! OpenEdge 11.5.1 Application model - Client and AppServer. On client side i have procedure with dynamic temp-table defined. I want to fill temp-table in batches, using AppServer procedure. AppServer procedure does NOT know temp-table structure. Fields description is sent to AppServer procedure as parameter. Server side procedure parameters: define input parameter field-description as character no-undo. define input-output parameter table-handle tt-h by-value. Client side first call (temp-table is empty): run get-data.p on hAppSrv (input ,input-output table-handle tt-h). Client side second, third and so on call (temp-table is NOT empty): run get-data.p on hAppSrv (input ,input-output table-handle tt-h append). APPEND option forces all returned records to be added to already existing records in temp-table on client side, which causes duplicated records. Can I specify in subsequent calls, client procedure NOT to send to AppServer procedure existing records?

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