Hi All,
I know this sounds familiar, however I have searched for about 4 hours and have picked up little pieces of info here and there.
Here is my problem;
I have a login screen which searchs a table for accepted users. From this it picks up the Name of the user and stores it in a UName variable. What I have done is placed this code in order to filter the next form (RequestGUI) to show the records only pertaining to that specific user;
It works, however, it requests that I enter the Uname component through an input box (query type)?
What am I doing wrong, can anybody help.
Cheers & Beers
rat_b76
I know this sounds familiar, however I have searched for about 4 hours and have picked up little pieces of info here and there.
Here is my problem;
I have a login screen which searchs a table for accepted users. From this it picks up the Name of the user and stores it in a UName variable. What I have done is placed this code in order to filter the next form (RequestGUI) to show the records only pertaining to that specific user;
Code:
10 Dim strLinkCriteria
strLinkCriteria = "[Name] =" & UName
DoCmd.OpenForm "RequestGUI", , , strLinkCriteria
What am I doing wrong, can anybody help.
Cheers & Beers
rat_b76