Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
 ivandrago
		
			ivandrago
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		Hi,
I have a button on my Document, I only want this to show when the user has access to all data? The field that determines what access a user has is called "Permission" there are two values in this field which are called 'Secure' or 'NonSecure'. So if a user has access to see all the data he would see both sets. I tried to do something with the button on the Layout tab and do a conditional formula on the "Show" option but not sure what to do? I've tried the following =Permisson =('*') but to no avail
Thanks
 
					
				
		
 stevedark
		
			stevedark
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		I would suggest going with the functions maxstring and minstring and section access to ignore all selections. The show condition could then be:
maxstring({1}Permission) = 'Secure' and minstring({1}Permission) = 'NonSecure'
Hope that helps,
Steve
.png) 
					
				
		
 Miguel_Angel_Ba
		
			Miguel_Angel_BaHello Ivan,
If the field is Permission and there's only one possible value per user, the conditional should look like
Permission = 'Secure'
Hope that helps.
BI Consultant
 ivandrago
		
			ivandrago
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		Hi, Some Users will see data where the Permission is "NonSecure", basically when there is a user who I have said on the Section Access that they can see ALL, I want a button to show on there document.
 ivandrago
		
			ivandrago
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		Any experts have an idea?
 
					
				
		
 stevedark
		
			stevedark
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		I would suggest going with the functions maxstring and minstring and section access to ignore all selections. The show condition could then be:
maxstring({1}Permission) = 'Secure' and minstring({1}Permission) = 'NonSecure'
Hope that helps,
Steve
.png) 
					
				
		
 Miguel_Angel_Ba
		
			Miguel_Angel_BaHi Ivan,
Try the following as conditional:
=Match('Secure', $(=chr(39) & Concat(DISTINCT Permission, chr(39) & chr(44) & chr(39)) & chr(39)))
That will return greater than zero (so true) in the case that the value "Secure" is in the list of all possible Permission values the user has.
Hope that helps.
BI Consultant
