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 Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

stored procedures

Status
Not open for further replies.

kjoost001

Programmer
Apr 11, 2002
19
US
Hello,
I am trying to execute a stored procedure (an Access Macro) from an .asp page. Does anyone know if this is at all possible? I am using Access 2000.

thank you for your time,
ken
 
I don't know if this is the way to do it in Access, but i am guessing it will work, give it a whirl :)

procedure name is InsertProc expecting two values

Code:
Dim dbcon
   Set dbcon = Server.CreateObject("ADODB.Connection")

   ' executing query
   dbcon.Execute "exec InsertProc val1, val2"

   dbcon.Close
   Set dbcon = Nothing

-Tarwn
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top