history
Egyptian Pharaoh
- Local time
- Today, 09:40
- Joined
- Jan 26, 2008
- Messages
- 190
Hello Friends
I have a form for employees and on the Current event I put a code that prevent the user to Edit any field without entering a password.
If Me.NewRecord Then
Me.AllowEdits = True
Else
Me.AllowEdits = False
End If
All of that working very well.
My problem is : on the form I have 3 combo boxes to look for the employees ,, but unfortunately after searching for anyone the code close these combo boxes too ,,,but I need these combo boxes to be active , I mean to be available to the user to look for the employees.
Please I need a help for this ,,, how can I tell the program to not AllowEdits to all fields except these 3 combo boxes ???
waiting to hear from you
I have a form for employees and on the Current event I put a code that prevent the user to Edit any field without entering a password.
If Me.NewRecord Then
Me.AllowEdits = True
Else
Me.AllowEdits = False
End If
All of that working very well.
My problem is : on the form I have 3 combo boxes to look for the employees ,, but unfortunately after searching for anyone the code close these combo boxes too ,,,but I need these combo boxes to be active , I mean to be available to the user to look for the employees.
Please I need a help for this ,,, how can I tell the program to not AllowEdits to all fields except these 3 combo boxes ???
waiting to hear from you