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
Controlling a dynamically created div
Postfix: Help relaying to hosting company's SMTP server
find a word in an external .txt and get into my VC++ code?
Dell 2161 DS-2 PowerEdge KVM switch password?
One Group Policy Object missing from SYSVOL after journal wrap error on server 2003
Securing and deploying a VB.net application
Server stopped responding
Procedure not run correctly when parameter include non en character (SQL2005)
Dns with Views Problem
Access query