Hi all,
I have a frame displaying data from a database query I performed. I have a statement that when I push F10 to display the order number. My issue is that I have to hit F10 2 times for the display statement to work (this is just for testing... i'll end up doing a separate task).
I did noticed there is a "Enter a unique identifier fro this order" at the bottom, not sure where that came from. Looked in the progress manual examples but I feel I'm missing something here. I have attached a screen shot of how it looks when I launch the program.
Any ideas why I must press F10 2 times?
Thanks in advance,
Rob
OpenEdge Release 10.2B08
I have a frame displaying data from a database query I performed. I have a statement that when I push F10 to display the order number. My issue is that I have to hit F10 2 times for the display statement to work (this is just for testing... i'll end up doing a separate task).
I did noticed there is a "Enter a unique identifier fro this order" at the bottom, not sure where that came from. Looked in the progress manual examples but I feel I'm missing something here. I have attached a screen shot of how it looks when I launch the program.
Any ideas why I must press F10 2 times?
Code:
for each wk_data no-lock break by wk_data.order:
if first-of(wk_data.order) then
var_count = var_count + 1.
end.
form wk_data.order with frame main-frame centered row 5 scroll 1 var_count down.
for each wk_data no-lock break by wk_data.order:
if first-of(wk_data.order) then
display wk_data.order
wk_data.cust_num
wk_data.ship_name
wk_data.date_req
wk_data.order_status with frame main-frame.
down with frame main-frame.
end.
up var_count with frame main-frame.
REPEAT ON ENDKEY undo, leave:
CHOOSE ROW order NO-ERROR WITH FRAME main-frame.
on F10 anywhere do:
display FRAME-VALUE format "x(9)".
end.
end.
Thanks in advance,
Rob
OpenEdge Release 10.2B08