Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

Print only checked

Avatar

25-08-2008

Is there a way to set a group of checkboxes up so that it will only print the selected ones?

Replies

Avatar

Avatar
Boost 500
Level 10
pguerett
Level 10

Likes

612 likes

Total Posts

7,689 posts

Correct Reply

692 solutions
Top badges earned
Boost 500
Boost 50
Boost 5
Boost 3
Boost 250
View profile

Avatar
Boost 500
Level 10
pguerett
Level 10

Likes

612 likes

Total Posts

7,689 posts

Correct Reply

692 solutions
Top badges earned
Boost 500
Boost 50
Boost 5
Boost 3
Boost 250
View profile
pguerett
Level 10

25-08-2008

Not without writing script. You would have to change the presence property of the checkbox initially to be on screen only (-print) and then when the user clicks the checkbox check to see that it has been checked and change the presence to +print.

Avatar

25-08-2008

that makes sense. what is the event for checking a checkbox called. would that be the initialize event?

Avatar

25-08-2008

I scripted this code and put it under the prePrint event in the show scripts list. It will only print when checked now, but it leaves the screen after that event occurs. Any ideas?



if(checkbox1.rawValue == 0){

checkbox1.relevant="-print";

}

else{checkbox1.relevant="+print";

}

Avatar

Avatar
Boost 500
Level 10
pguerett
Level 10

Likes

612 likes

Total Posts

7,689 posts

Correct Reply

692 solutions
Top badges earned
Boost 500
Boost 50
Boost 5
Boost 3
Boost 250
View profile

Avatar
Boost 500
Level 10
pguerett
Level 10

Likes

612 likes

Total Posts

7,689 posts

Correct Reply

692 solutions
Top badges earned
Boost 500
Boost 50
Boost 5
Boost 3
Boost 250
View profile
pguerett
Level 10

26-08-2008

You can set the presence back to visible in the postprint event.

Avatar

26-08-2008

excellent. it works. thanks. Any ideas on why when i have more than one page, and i hide the subforms on thefirst page, the sub forms on second page don't move to the first to shrink the size of the form? or ideas on how to do that?

Avatar

27-08-2008

Hi Brian,

You have to use flowed layout on the top of your first and second form, so when you make first form hidden, second will be go up.

Hope helps,

In case of more support, you can email me.



asiyegunaydin@kgc.com.tr



Asiye