Navigation form (1 Viewer)

foxtet

Registered User.
Local time
Today, 15:27
Joined
May 21, 2011
Messages
129
Hi guys!

here attached is user login security module. this works well with main form. but when used is navigation form (access 2010-2013) it gives error.

none of the forms can be added to navigation form

Error: Microsoft access cannot find the reference form..
this utility can be very useful if this error is corrected. Need your help

foxtet
 

Attachments

  • navigationformError.zip
    477.2 KB · Views: 51

Uncle Gizmo

Nifty Access Guy
Staff member
Local time
Today, 12:27
Joined
Jul 9, 2003
Messages
16,282
You've got this code:-

Code:
Option Compare Database
Option Explicit

Private Sub Form_Open(Cancel As Integer)
Call SecurityEnabled(Me.Name, "Form") ' enable security for this form
End Sub

....in the wrong form you have got it in the form:-
frm_Add_New_Employee

it should be in this form:-
frmNavigation
 

Uncle Gizmo

Nifty Access Guy
Staff member
Local time
Today, 12:27
Joined
Jul 9, 2003
Messages
16,282
By the way I thought I should mention this looks very complicated and convoluted way of handling security. It is not at all clear to me what it does, and why it does what it does. If you get any more problems with it I doubt very much if you will be able to get much help. I wouldn't get too invested in it, unless you understand how it works...
 

Users who are viewing this thread

Top Bottom