Microsoft
Software
Hardware
Network
Question : Access DoCmd.runSQL running a SQLServer stored procedure
I am using an Access front end to a SQLServer database. Some VBA uses DoCmd.runSQL to run stored procedures in the database. What is the best way to capture the return from the stored procedure?
Answer : Access DoCmd.runSQL running a SQLServer stored procedure
What is returned from the Stored Procedure? If it's a Recordset, you can just do this:
Dim rst As DAO.Recordset
Set rst = Currentdb.OpenRecordset(Yo
urQueryNam
e)
If it's an Output param, you're probably better off using an ADODB.Command object.
Random Solutions
How to suppress a page header when only a sub report is visable (in group footer 1b)
Why can't my new server SBS 2008 connect to the Internet when my old server (W2k) can?
Relink tables Access 2007
This mailbox cannot be opened. The mailbox may be located in a different forest from the Microsoft Exchange Client Access server. For access to the mailbox or for more information, contact technical s
Parent/Child/Child relationships in forms and sub-forms
Access Error 3125 Not able to open query in Design Mode
Print poster from Word 2007
sql profiler on GP, sql tables that are hit from GP
Digitally signing Access 2003 MDE:breaking certificate with internal modifications of queries?
SQL change first date of week