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
see mode of database
We are unable to access database using following parameters.
Retrieve Macro security settings Excel 2007
how to find how many days left for the installed eval copy of microsoft sql r2
access 2007-label and textbox bound together
How to move exchange2003 to exchange2007
VB.Net String remove everthing after second space in string
how to pass dynamic value to root node attribute of XML using Xquery?
ntfs server 2003 folders name chaning and icons changing randomly
Implementing optional parameters in a function - C#