Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How can I execute a SQL Server stored procedure from MS Access?

Status
Not open for further replies.

dBjason

Programmer
Mar 25, 2005
355
US
I have an Access front-end which needs to execute a SQL Server stored procedure when a user clicks a button.

Any ideas on how to do this?
 
Have a look at the ADODB.Command object.

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886
 
If you just want a quick & dirty way, and you don't already have the ado reference set up, you can just use a pass-thru query.

You won't be able to recive return-parameters directly, but you can return values and recordsets.
--Jim
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top