Thanks for your help mvpacc, I have looked at your web site and the code you mentioned is very helpful. I will need to revise my VBA code and make the necessary changes to use Temporary tables. It is a shame that Access does not cater for the ability to open a stored procedure with parameters...
Thankyou for your response, how could I assign a global variable for @Get_Id in Access, because as far as I am aware @Get_Id has to be declared witin the stored procedure and not at global level. I look forward to your reply.
I have a the following stored procedure:
Alter Procedure GetResults @Get_Id INT
As
SELECT * FROM TBLSAMPLE
WHERE ID =@Get_Id
I am calling the stored procedure using the following:
DoCmd.OpenStoredProcedure "GetResults", acViewNormal
It is possible to call the stored procedure using...
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.