First off, I'm new to SQL Server. I'm working with my first database.
I do have ownership of the SQL database and so far have added users, created tables, roles (and assigned users to the roles), and views (and given roles permissions to the views).
The database has a number of tables with names like: History_1, History_2, ...
One View's SQL statement includes:
From dbo.History_1 as H
Where (H.Subdivision = '300_03')
If the user is assigned to a role that has permission to the view, I would like to be able to change the table used in the view (perhaps a pass-through parameter?) by selecting the desired table name from a combo or list box in the Access 2007
front end .mdb file.
Or do I have to create a separate view for each of the tables in the SQL Server database?
Any help would be appreciated.
View Complete Post