jottiwell
Nov 2nd, 2000, 04:25 AM
Hello,
I'm trying to convert an existing database from .mde frontend / .mdb backend to .adp front / SQL 7 back.
I'm having a huge amount of problems trying to pass parameters to stored procedures. I can pass it through adodb.command exec calls, but not any other way. Is it possible to pass them through the
Docmd.OpenStoredProcedure call in Access?,
I need to be able to display the result set on screen, as you would with a very simple access query. I can modify the stored procedures to create permanent or even temporary tables, obviously I'd prefer to use temp tables for the results sets, but I can't open the temp tables from VBA in access, is this possible or do they only exist within the bounds of SQL?
I've tried creating an activeX control in VB, but again if I'm trying to use an ADO control to populate a DBGRID, I can't work out how you pass the parameters within the stored procedure dropdown, ( i.e. where it says '<storedprocedurename>; 1' where 1 is the number of parameters the stored proc expects.
Please help, anything'd be helpful.
Thanks
John
I'm trying to convert an existing database from .mde frontend / .mdb backend to .adp front / SQL 7 back.
I'm having a huge amount of problems trying to pass parameters to stored procedures. I can pass it through adodb.command exec calls, but not any other way. Is it possible to pass them through the
Docmd.OpenStoredProcedure call in Access?,
I need to be able to display the result set on screen, as you would with a very simple access query. I can modify the stored procedures to create permanent or even temporary tables, obviously I'd prefer to use temp tables for the results sets, but I can't open the temp tables from VBA in access, is this possible or do they only exist within the bounds of SQL?
I've tried creating an activeX control in VB, but again if I'm trying to use an ADO control to populate a DBGRID, I can't work out how you pass the parameters within the stored procedure dropdown, ( i.e. where it says '<storedprocedurename>; 1' where 1 is the number of parameters the stored proc expects.
Please help, anything'd be helpful.
Thanks
John