2007 Feb 26 12:50 PM
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?
2007 Feb 26 12:52 PM
Hello,
Case 'X'.
WHEN 'R1'.
....
WHEN 'R2'.
....
WHEN 'R3'.
....
ENDCASE.Vasanth
2007 Feb 26 12:52 PM
hi,
case 'X'.
when p_var.
when p_var1.
endcase.
Message was edited by:
Navneeth Bothra
2007 Feb 26 12:58 PM
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>