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
jquery Countdown
How do I maximize an external database window using VBA code in another Access Database?
.NET: how to transfer sql database to local datasource for web application?
Sending Mail External - Domain Challanges
SYBASE and how it can benefit a company
Formatting a Hard Drive with sensitive data
PHP sql statements
Asterisk Dial Plans
Why does The Microsoft Jet database engine does not recognize <name> as a valid field name or expression. ?
USB port on compaq laptop w/XP will not work with USB mouse