pat_nospam
Registered User.
- Local time
- Today, 17:48
- Joined
- Oct 14, 2003
- Messages
- 151
Would this be the correct method of blanket locking a form based on form security userlevels? I'd like to set all textboxes "Locked = Yes" and comboboxes "Limit to List = Yes".
	
	
	
		
As always, thanks for the assist!
Pat
 
		Code:
	
	
	If UserLevel = "viewonly" Then
    Me.SomeTextBox.Locked = True
    Me.SomeComboBox.Limit to List = True
ElseIf UserLevel = "admin" Then
    Me.SomeTextBox.Locked = False
    Me.SomeComboBox.Limit to List = False
End IfAs always, thanks for the assist!
Pat

 
	 
 
		 
 
		 
 
		 
 
		 
 
		 
 
		