I am trying to restrict what a user can see and edit on an access form and reports. My front end is Access and the data is stored in SQL 2008. I was thinking that I could make the view restrict what is seen by using windows authentication in the criteria. Basically, my users are supposed to maintain a log that only they can see and the managers. This info is filtered by their user name. I want to assign a view the users but its parameter is their name based on authentication. I hope I am making sense.
I have a table that has their full name and then their windows id. How can I do this. Any help is appreciated.
I have a table that has their full name and then their windows id. How can I do this. Any help is appreciated.
Code:
SELECT dbo.DATA.*, dbo.Names.WindowsId
FROM dbo.DATA INNER JOIN
dbo.Names ON dbo.DATA.WorkName = dbo.Names.NameOfUser