Let's see if I can simplify this enough.
I am using a BUFFER-COMPARE statement and saving the results in a character variable.
With this I am trying to create some history in a table in the database using an existing program.
For this I need to be able to pass the value of a field from one of the buffers to the program.
Below is a basic snippet of the code
Hopefully this makes sense as to what I am trying to do. The italicized section is where I need the help.
TIA.
I am using a BUFFER-COMPARE statement and saving the results in a character variable.
With this I am trying to create some history in a table in the database using an existing program.
For this I need to be able to pass the value of a field from one of the buffers to the program.
Below is a basic snippet of the code
Code:
BUFFER-COMPARE xtable TO table SAVE RESULTS IN l-compare.
DO l-idx = 1 TO NUM-ENTRIES(l-compare):
RUN existing.p(
INPUT ENTRY(l-idx,l-compare) + "," + [I]value from table.entry(l-idx,l-compare)[/I]
).
Hopefully this makes sense as to what I am trying to do. The italicized section is where I need the help.
TIA.