Application Development and Automation 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: 
Read only

Radio buttons

Former Member
0 Likes
457

I have 15 radio buttons and I have use Case endcase then what you will take at Case <.....> (here) to enter in to Case Endcase?

I have 15 radio buttons and I have use Case endcase then what you will take at Case <.....> (here) to enter in to Case Endcase?

3 REPLIES 3
Read only

Former Member
0 Likes
439

Hello,

Case 'X'.

WHEN 'R1'.
....
WHEN 'R2'.
....
WHEN 'R3'.
....
ENDCASE.

Vasanth

Read only

Former Member
0 Likes
439

hi,

case 'X'.

when p_var.

when p_var1.

endcase.

Message was edited by:

Navneeth Bothra

Read only

Former Member
0 Likes
439

If I have understood correctly, you would like to check which of the 15 possibilities one user chose.

I'll write one case with three radiobvttons. You do the case on the 'X' value. The radiobutton must belong to the same radiobutton group so only one radiobutton can have the value 'X'.

example

<i>report test_radi.

parameters: one radiobutton group RADI.

parameters: two radiobutton group RADI.

parameters: three radiobutton group RADI.

case 'X'.

when one.

write: /1 '1'.

when two.

write: /1 '2'.

when three.

write: /1 '3'.

endcase.</i>