2010 Jan 08 5:43 PM
Hi gurus i create a report in this report i call a screen "screen 100" and then i call an other screen "200" wich is in modal form.
my problem is that i cant close the screen 200 once it has ben opened
how can i close a modal screen thanks?
Hi gurus i create a report in this report i call a screen "screen 100" and then i call an other screen "200" wich is in modal form.
my problem is that i cant close the screen 200 once it has ben opened
how can i close a modal screen thanks?
2010 Jan 08 5:46 PM
The screen 200 is just like any other screen in that it needs to have its own gui status. Create a gui status for this screen, and make sure to choose "Dialog Box" when creating it. Then assign Fcodes to the green check icon, and the cancel icon. Then handle these fcodes in your PAI of that screen.
case ok_code.
when 'CONTINUE'.
clear ok_code.
* Do something
set screen 0.
leave screen.
when 'CANCEL'.
clear ok_code.
set screen 0.
leave screen.
endcase.Regards,
Rich Heilman
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |