All you really need, like DC was saying, is a table with UserID, Password and Unit. Create a form based on that and put something like this in the code for the login button:Easy if you can trust people not to muck about behind the scenes. Obviously txtpassword is the password text box on your login form and so on.Code:Dim varunitnumber as integer If me.txtpassword = dlookup("[Password]","Users","[UserID]='"&me.txtusername & "'" then VarUnitNumber=dlookup("[Unit]","Users","[UserID]='"&me.txtusername & "'" Docmd.close acform docmd.openform Yourformname here,,,"[Unit]=" & varunitnumber Else msgbox "Invalid Username/Password" Endif
It's also possible to do things like hide the database window and toolbars so users can't see the base table or toggle the filter off...
Wonderful! I'll try to do that. Thanks!