Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
 
					
				
		
 vlad_komarov
		
			vlad_komarov
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		Hello,
Just checking if anybody knows the way to show/hide a field in Multibox (similar to "Conditional" option in chart's expression, for example).
Any suggestions will be appreciated.
Best regards,
Vladimir
 
					
				
		
 MayilVahanan
		
			MayilVahanan
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		HI
There is no option like that in multi box upto my knowledge..
 Gysbert_Wassena
		
			Gysbert_WassenaNo, not really. You can use a variable to use in an expression in the multibox. If the variable contains a field name then this is shown in the multibox, if the variable is empty there will still be a selection 'row' in the multibox, but there's nothing to select. You could do it with a macro by simply removing and adding the fields or expressions using the RemoveField and AddField methods of the multibox control.
 
					
				
		
If use variables, create two multiboxes, and show conditionaly one or another depending on variable.
Regards,
Michael
 
					
				
		
 vlad_komarov
		
			vlad_komarov
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		It would be the easiest question to answer if it would be one. Thanks, but I was looking for non-trivial solution.
 
					
				
		
 vlad_komarov
		
			vlad_komarov
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		Thanks, I will try that.
Regards,
Vladimir
 
					
				
		
 vlad_komarov
		
			vlad_komarov
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		Michael,
Unfortunatelly your suggestion will not work in my case (I wish if it could be that simple). I have to use multibox with (potentially) up to 200 fields to select. The combination of the fields to display might be flexible.
So, I was looking for other solution(s). It looks like the macro is the only choice.
Regards,
Vladimir
 MayilVahanan
		
			MayilVahanan
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		Hi
I thought, you want just confirmation about that option..so i just told the information.
PFA
 
					
				
		
 vlad_komarov
		
			vlad_komarov
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		Thanks, your example is close to the idea I've tried first, but I need to hide the whole row when the data is not avaialble (selected in your case) and not the "Fields Displayed" part only.
Regards,
Vladimir
 
					
				
		
PFA,
In THis way you can enable disable a field in Multibox
