Hello,
I have two procedures, the first has definition of temp-table, dataset, query for that temp-table and browse, the second has definition of the same temp-table, the same dataset. First procedure shows result in browse, second gets records from database to dataset and returns filled dataset to the first procedure. When I try to use
and execute second procedure with
whole process works perfect, fetches new records, shows on screen.
But when I remove "BY-REFERENCE" and pass dataset BY-VALUE, query starts to show strange results, like to show all records one more time and just than new fetched records.
Could you help with this issue?
I have two procedures, the first has definition of temp-table, dataset, query for that temp-table and browse, the second has definition of the same temp-table, the same dataset. First procedure shows result in browse, second gets records from database to dataset and returns filled dataset to the first procedure. When I try to use
Code:
QUERY Q1:SET-CALLBACK-PROCEDURE("OFF-END","ProcToFetchBatch",THIS-PROCEDURE)
Code:
RUN GetData_2.p (INPUT-OUTPUT DATASET dtsMenu BY-REFERENCE)
But when I remove "BY-REFERENCE" and pass dataset BY-VALUE, query starts to show strange results, like to show all records one more time and just than new fetched records.
Could you help with this issue?