I have used the following code to find the current username and I would like to use a AutoExec macro to compare the username to the tblUser table and if the username does not exist then open the signup form for them to register themselves.
Public Function UserName()
UserName = CreateObject("wscript.network").UserName
End Function
Does anyone have a suggestion on how to do this?