Add or Remove column from same report by selecting checkbox (1 Viewer)

Ashisht76

Member
Local time
Today, 19:46
Joined
Jan 31, 2022
Messages
44
Hi Everyone,

I have been searching for code that can add or remove column from same report based on check box is selected or not. Is it really possible or its not practical. Does .visible property works here and if so how, I will he very thankful if i get some hint or code example of the same.

I am highly obliged in advance for reading / responding on my post.
 

CJ_London

Super Moderator
Staff member
Local time
Today, 15:16
Joined
Feb 19, 2013
Messages
16,614
you can set visibility in the report section onformat event.
 

Ranman256

Well-known member
Local time
Today, 10:16
Joined
Apr 9, 2015
Messages
4,337
the chkbox event would show or hide the field

Code:
sub chkBox1_Afterupdate()
   txtBox1.visible - chkBox1.value
end sub
 

Users who are viewing this thread

Top Bottom