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

checkbox

Former Member
0 Likes
428

Hi,

how to write the condition for checkbox set n unset?

4 REPLIES 4
Read only

Former Member
0 Likes
410

some thing like this but do search the forum

parameters: p1 as checkbox,

p2 as checkbox.

if p1 = 'X'.

............

elseif p2 = 'X'.

.......

........

Read only

Former Member
0 Likes
410

If c_checkbox = 'X'. "ie the checkbox is set and ='' for not set

...

...

Endif.

Hope this helps

Read only

bpawanchand
Active Contributor
0 Likes
410

Hi

Regards

Pavan

Read only

Former Member
0 Likes
410

Hi,

i am not clear about the question, if you want to set the default to be checked

then you can either do it

at selection screen output event

chk_box_name = 'X'.

or if you are using module pool then you can do it in PBO event.

if you simply want to see if user checked the chk box

then you can do it in your code by using if condition

if chk_box = 'X'.

endif.

Thanks,

Kamesh