Yohn
Member
Hy.
I created a temp-table, and i fill that temp-table. How I can display that result in browse. On my mask i draw browse, and I need to display that temp-table. I created browse witch will be a sum of some table row, and on that row i have two or more valutas, (EUR, USD ... ).
Code example:
FOR EACH tt:
FIND FIRST ttValute NO-LOCK
WHERE ttValute.Oznaka = string(tt.sif-val-obrac) NO-ERROR.
IF AVAILABLE ttValute THEN
ttValute.Iznos = ttValute.Iznos + tt.izn-policrano.
ELSE DO:
CREATE ttValute.
ASSIGN
ttValute.Oznaka = string(tt.sif-val-obrac)
ttValute.Iznos = tt.izn-policrano.
END.
END.
I created a temp-table, and i fill that temp-table. How I can display that result in browse. On my mask i draw browse, and I need to display that temp-table. I created browse witch will be a sum of some table row, and on that row i have two or more valutas, (EUR, USD ... ).
Code example:
FOR EACH tt:
FIND FIRST ttValute NO-LOCK
WHERE ttValute.Oznaka = string(tt.sif-val-obrac) NO-ERROR.
IF AVAILABLE ttValute THEN
ttValute.Iznos = ttValute.Iznos + tt.izn-policrano.
ELSE DO:
CREATE ttValute.
ASSIGN
ttValute.Oznaka = string(tt.sif-val-obrac)
ttValute.Iznos = tt.izn-policrano.
END.
END.