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
Difference between Oracle,MySQL and Sybase
Can not find a RSS feed on my home page.....
SQL Database mail error
Can Outlook 2007 work with Exchange 2010 Archive Feature?
what's problem of select statement with group?
HP LaserJet 4050 Printing then Pausing
CONVERT DATE TO JULIAN
Can I look up a value in a table to include in my result set?
Exchange 2000 Routing Group Connectors
Image as link...how to allign to text bottom?