jamie_moore
New Member
Hi,
I'm struggling to get my frame which is being displayed to the terminal to scroll up/down. At the moment I can only navigate by pressing space bar/carriage return in which case it moves downwards but then won't let you scroll back up or move around using the arrow keys. Any help would be appreciated.
FOR EACH order.stkadj WHERE
company = iCompany AND
loc-cd = iDepot AND
adj-date >= daStartDate AND
adj-date <= daEndDate,
EACH main.product OF order.stkadj,
EACH main.stock OF main.product:
deCostAdj = cost-price * adj-qty.
iNewStk = old-stk + adj-qty.
DISPLAY /*stkadj.adj-date*/
fwd-loc LABEL "Bin Loc"
catalog-no
prod-name
product.pack
stkadj.prod-code LABEL "Code"
/*stkadj.reason*/
old-stk
adj-qty
iNewStk
/*stkadj.user-id*/
deCostAdj
(TOTAL)
reference WITH SCROLL 5 WIDTH 145 ROW 7 COLUMN 1.
END.
I'm struggling to get my frame which is being displayed to the terminal to scroll up/down. At the moment I can only navigate by pressing space bar/carriage return in which case it moves downwards but then won't let you scroll back up or move around using the arrow keys. Any help would be appreciated.
FOR EACH order.stkadj WHERE
company = iCompany AND
loc-cd = iDepot AND
adj-date >= daStartDate AND
adj-date <= daEndDate,
EACH main.product OF order.stkadj,
EACH main.stock OF main.product:
deCostAdj = cost-price * adj-qty.
iNewStk = old-stk + adj-qty.
DISPLAY /*stkadj.adj-date*/
fwd-loc LABEL "Bin Loc"
catalog-no
prod-name
product.pack
stkadj.prod-code LABEL "Code"
/*stkadj.reason*/
old-stk
adj-qty
iNewStk
/*stkadj.user-id*/
deCostAdj
(TOTAL)
reference WITH SCROLL 5 WIDTH 145 ROW 7 COLUMN 1.
END.