Skip to Content

Reset rediobutton selection to default on back button

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

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • Posted on Jan 28, 2014 at 06:13 AM

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

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jan 28, 2014 at 06:17 AM

    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

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jan 28, 2014 at 07:02 AM

    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

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.