Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
 
					
				
		
 vipingarg23
		
			vipingarg23
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		Hi Team,
I have two listboxes named A, B. A has alternate state but B don't have. I want to show listbox A only when value in listbox B is 1.
I am using below conditional expression in layout tab but it is not working due to alternate state.
if(getfieldselections(B)=1,1,0)
Please find the sample code in attachement.
 antoniotiman
		
			antoniotiman
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		 tresesco
		
			tresesco
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		What is your qv version? If you lave latest (If I remember correctly, qv 11.2 SR7+ ) versions, in the getfieldselections() you would get a parameter to pass state_name information.
 
					
				
		
 vipingarg23
		
			vipingarg23
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		QV12
 antoniotiman
		
			antoniotiman
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		May be this
=Only({$} B)=1
 
					
				
		
 vipingarg23
		
			vipingarg23
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		Great..It is working fine...Thanks for your help.
