2008 Jul 01 10:18 AM
Hi Experts!
I'd like to ask what is the best approach of using a Parameter ID in Radiobuttons. Because using the Group syntax with the Memory syntax is a syntax error in Parameter Clause for Radiobutton Declaration.
Can you help me please? Points will be rewarded for suitable answers. Thanks.
2008 Jul 01 10:36 AM
Hi,
GET PARAMETER at the event INITIALIZATION. and set defaults there.
Would look like this (just typed in - no syntax check!):
DATA def_opt TYME fname.
...
INITIALIZATION.
GET PARAMETER my_par def_opt.
CLEAR: p_radio1, p_radio_2.
CASE def_opt.
WHEN 'P_RADIO1'."allways upper case
p_radio1 = 'X'.
WHEN 'P_RADIO'.
p_radio2 = 'X'.
WHEN others. "fall back
p_radio1 = 'X'.
ENDCASE.....
Kind regards,
HP
Hi Experts!
I'd like to ask what is the best approach of using a Parameter ID in Radiobuttons. Because using the Group syntax with the Memory syntax is a syntax error in Parameter Clause for Radiobutton Declaration.
Can you help me please? Points will be rewarded for suitable answers. Thanks.
2008 Jul 01 10:36 AM
Hi,
GET PARAMETER at the event INITIALIZATION. and set defaults there.
Would look like this (just typed in - no syntax check!):
DATA def_opt TYME fname.
...
INITIALIZATION.
GET PARAMETER my_par def_opt.
CLEAR: p_radio1, p_radio_2.
CASE def_opt.
WHEN 'P_RADIO1'."allways upper case
p_radio1 = 'X'.
WHEN 'P_RADIO'.
p_radio2 = 'X'.
WHEN others. "fall back
p_radio1 = 'X'.
ENDCASE.....
Kind regards,
HP
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |