Ok, everyone said don't try to alter a view from an SP. The problem was getting a SP to be the RecordSource for a report in the Access front end. I put the proc in as the RecordSource and hard coded a parameter and the report ran. Then I make a form where the user entered the parameter in a text...
The problem is there are 40 users most of whom are not allowed to see records assigned to others. Theses users need reports. The reports are generated from an Access front end. The reports are altered when the underlying view is altered. When the record number is changed in the view the report...
Can you alter a view from a stored procedure? I need to send criteria to the view from the parameter of the procedure.
I tried putting the ALTER VIEW code right after the AS in the CREATE VIEW statement. The error returned was “Error near key word VIEW”.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.