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
Index No Duplicates - Foreign Keys
uese cte twice in a query
Server with SBS 2003 retrive pop3 mail faster.
acer aspire am5640...darn sound!!!
Using rand() to generate data
The paste image turn to black on Microsoft Word
Find and Replace text in Microsoft Word via MS Visual Studio
How to pass variable value between pages
Open Directory Administrative Account to allow local admin access?
Midify excel file within visual foxpro 9