How to execute a SQL Server Stored Procedure from an Access front-end?
Over the past 10 years I have developed several applications using SQL Server as the back-end database with Access "projects" (.ADP) as the front-end applications.
Now that the Access ADP Projects are no longer supported by Microsoft I am trying to upgrade one of my smaller projects to SQL Server 2016 and Access 2016. So far I have managed to get my "linked tables" to work OK but I am having problems executing SQL Server Stored Procedures from the Access front-end.
I have attached a VBA sub procedure that has served me well over the years for achieving this with my .ADP Projects. I call it from many places in my VBA code, passing in the name of the Stored Procedures along with an arrary of parameters that have been populated.
Even though this code compiles OK in my new ACCDB application, I get run-time errors suggesting the Tables cannot be updated.
I have attached a screenshot of one of the error messages.
(Looks like I can only attacch one file at a time, so I will raise a second comment with the error message file.)
I have tried to make sense of suggestions on other web-sites but have still not managed to find a solution.
Can somehow hold my hand through changing this sub procedure (or my Stored Procedures) to make it work?