calling a sql procedure

B

Bre-x

Hi,
I have a sql procedure stored on MSSQL server and it has parameters

how do i call it from ms access (2000)?

Thnks

Bre-x
 
D

Douglas J. Steele

Create a pass-through query that calls it. Note that you must supply all of
the values to the pass-through query: it's not possible to have it prompt
you for parameters, the way it is with a non pass-through query.
 
G

Guest

Create a new Module in Access2000.Copy the code from SQL to Access and save the Module.When you want the procedure to run,let's say through a command button,just type Call followed by the saved Module name.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top