Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Reset rediobutton selection to default on back button

0 Kudos

Hi,

I have 2 radio button in a group on selection screen. I have set radio button as default selected.

I am calling a Screen 100 on selection of second radio button.

When I press back button on Screen 100 and Call screen 0 , it shows the second radio button selected whereas I the selection screen to show the first default button selected.

Pls help

Thanks,

Shriniwas

3 REPLIES 3

nabheetscn
Active Contributor
0 Kudos

In initialization event of report have you set the default value of radio button as X?

VijayaKrishnaG
Active Contributor
0 Kudos

Hi Shriniwas,

Make it First RB selected by passing value X in PBO of Screen 0 (first screen).

In PBO of first screen (0).

Loop at Screen.

If Screen-Name = RB1.

RB1 = 'X'.

RB2 = SPACE.

Modify Screen.

Endif.

Endloop.

Regards,

Vijay

0 Kudos

Thanks Vijay. It worked. No need to use loop at screen as it was a selection screen and

only setting value 'X' to the desired RB is sufficient.

Nabheet I tried INITIALIZATION but the control din't go to there when I called screen 0.

Thanks to both of you.

Shriniwas