Hi, all! I have a dialog box with which users type in userid and password. I check for valid info and then open a menu form. I have several forms where I have query based Comboboxes. The queries are parameter queries that take the userid input by the user to filter records. Only records that belong to the particular user will be seen by that user. Since some users may be authorized to look at all records, I would like to set the dialog box textbox to a value that will allow all records to be returned. The following code returns no records. Any ideas? Thanks for any help that you can give!!
If Me![User_ID] = "Jim" Then
Me![User_ID] = "Not Is Null"
Me![Pass_word] = "Not Is Null"
strUserID = "Jim"
strPassword = "Password"
End If
If Me![User_ID] = "Jim" Then
Me![User_ID] = "Not Is Null"
Me![Pass_word] = "Not Is Null"
strUserID = "Jim"
strPassword = "Password"
End If