Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
 
					
				
		
 aaronnayan
		
			aaronnayan
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		Hi Guys
I need to create a select all button.
I have about 30 individual buttons that each have their own variable that when clicked will add dimensions to a table
An example of one of the buttons=
varible: vShow_IVDT
value: =if(vShow_IVDT=1,0,1)
This new button needs to select all of them
It needs to select all variables
I also need another button the Deselects all of them
Please can anyone help really struggling and it looks simple but very confusing
 Kushal_Chawda
		
			Kushal_Chawda
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		for 30 button, set vShow_IVDT values from 1 to 30,
to select all, create button, set variable vShow_IVDT =1
to deselect all, create button, set variable vShow_IVDT =0,
Call vShow_IVDT variable in conditional of each dimension
 Kushal_Chawda
		
			Kushal_Chawda
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		for 30 button, set vShow_IVDT values from 1 to 30,
to select all, create button, set variable vShow_IVDT =1
to deselect all, create button, set variable vShow_IVDT =0,
Call vShow_IVDT variable in conditional of each dimension
 
					
				
		
 aaronnayan
		
			aaronnayan
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		Thanks Kushal! that worked
i have each indivualy button with a text box colour coded
if the button is selected it will be green if not it will be red
the select all button does not change it
code in colour
=if(vShow_IVDT=1,LightGreen(),lightred())
 Kushal_Chawda
		
			Kushal_Chawda
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		have you applied trigger on button to set variable value to 1? if so, this condition should work.
 
					
				
		
 aaronnayan
		
			aaronnayan
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		Sorry i do not know what trigger on means
For my select all button
variable: vShow_IVDT
value:vShow_IVDT=1
Every button has a text box that is a button also with that varibable
if it is selected it goes green if not it goes red
The select all button is not changing the colour even when the varibles are true
 Kushal_Chawda
		
			Kushal_Chawda
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		can you please share sample?
 
					
				
		
 aaronnayan
		
			aaronnayan
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		i have managed to do the last part thank you Kushal
in the select all button
variable
vShow_IVDT
value
=if(vShow_IVDT =1,0,1)
 Kushal_Chawda
		
			Kushal_Chawda
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		awesome 
