Sorry Guys and Girls but im very new to this VBA lark.
Anyway i have a message that comes uo with "Compile Error, variable not found"
I am trying to run a code as follows.
Public Function LoginName()
sUser = DLookup("UserEntered", "usersentries", "[colin]")
End Function
I am using this code to identify users who are logged on so that my Audit trail field can be updated.
Have i made an almighty boob?
Thanks for your help
Anyway i have a message that comes uo with "Compile Error, variable not found"
I am trying to run a code as follows.
Public Function LoginName()
sUser = DLookup("UserEntered", "usersentries", "[colin]")
End Function
I am using this code to identify users who are logged on so that my Audit trail field can be updated.
Have i made an almighty boob?
Thanks for your help