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
SQL query help..to join or not to join
iphone 3gs email with exchange server
Java Client Applet - Message from server to ALL clients
SQL Query calculation in a View
ESXI management network on seperate vSwitch
get last record from group by
Error on cascading delete command / ORA-02291
Disable a user from showing up when searching NAB
Winlogon process
psexec problem on 64bit target systems