Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
 
					
				
		
I want to be able to use a button to toggle fields in a table ON and OFF. In essence, allowing the user to customize what he/she wants to see. Is there a way to do this with the button object?
 
					
				
		
 swuehl
		
			swuehl
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		Yes, you can use a button for this.
In the button properties, you could create an action that will toggle variable (I will call this variable vToggle):
Actions -> Add-> Action Type: External --> Set Variable
Then you enter the variable name (the variable should be created in Variable Overview in Settings menu also), and as expression something like
= if(vToggle = 0,1,0)
In the properties of the straight table object in presentation tab, enter this variable as conditional to show the selected column
=vToggle
Hope this helps,
Stefan
 
					
				
		
 swuehl
		
			swuehl
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		Yes, you can use a button for this.
In the button properties, you could create an action that will toggle variable (I will call this variable vToggle):
Actions -> Add-> Action Type: External --> Set Variable
Then you enter the variable name (the variable should be created in Variable Overview in Settings menu also), and as expression something like
= if(vToggle = 0,1,0)
In the properties of the straight table object in presentation tab, enter this variable as conditional to show the selected column
=vToggle
Hope this helps,
Stefan
 
					
				
		
Thank you so much! I got it work. Before I was just doing =if(vToggle = 0,1).
 
					
				
		
Nice!
