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

passing a variable if checkbox is selected

Former Member
0 Likes
508

Hi

There is a check box as a parameter in my program

If that checkbox is selected i have to pass a variable "S" in a local variable.

Please provide me the coding

Thanks in advance

Regards

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
472

Hi,

A simple statement.

If chkbox = 'X'.

l_var = 'S'.

endif.

U can write this in ur code.

Regards,

Subbu

Hi

There is a check box as a parameter in my program

If that checkbox is selected i have to pass a variable "S" in a local variable.

Please provide me the coding

Thanks in advance

Regards

2 REPLIES 2
Read only

Former Member
0 Likes
473

Hi,

A simple statement.

If chkbox = 'X'.

l_var = 'S'.

endif.

U can write this in ur code.

Regards,

Subbu

Read only

Former Member
0 Likes
472

Hi,

Please use the below code.

clear:v_variable.

If p_checkbox = 'X'.

v_variable = 'S'.

endif.