‎2007 Oct 22 8:34 AM
Hi,
I have to display my radio button dynamically based on my Load ID.
A Load ID can contain maximum 10 files.
Take for an example there is 5 files for Load ID: 001, it should only display 5 radio buttons and not all 10 radio buttons. The 5 radio buttons has to display the files name together. The radio button text should be change due to the different load.
How do i achieve that?
‎2007 Oct 22 8:37 AM
You have to code in event 'At selection-screen output' event. According to the condition modify 'SCREEN TABLE' to enable or disable radiobuttin.
At selection-screen output'.
Loop at screen.
........
......
modify screen.
endloop.
‎2007 Oct 22 8:40 AM
‎2007 Oct 22 8:56 AM
IN that case you can code like that. If the load id is '001' , then pres enter . will display the radiobuttons. When you press enter, control will go to PBO and PBI of the next screen. You can set the radiobutton in next screen. IN the PBO of the next screen you can check the load id and according modify the screen attribute to enable or disable the radiobutton. You can even make the next screen a model dialog box ( So that, when you press enter it will check the load id and it is 001 then it will give a pop up screen with the radio buttons'.
‎2007 Oct 22 9:14 AM
Oh but i need to display everything in one screen. 😃
I will input the load id at the top of the screen, and below radio button and text will display base on the load id.
‎2007 Oct 25 3:12 AM
‎2008 Jan 08 7:33 AM