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

Trying to run a stored procedure in SQL server7 on access??

Status
Not open for further replies.

Frank72

Technical User
Nov 13, 2001
57
IE
Hows it going

I'm trying to run a 'stored procedure' created in sql7 that will be called from code in an access environment

is this possible? if so how

thanks alot + happy christmas

frank
 
I have done a similar thing calling an Oracle SP from VB, but too much code to put here.
It involved various calls to the ODBC.DLL library:

SQLAllocStmt
SQLPrepare
Parameter binding using: SQLBindParameterString/Double/Long/Integer
SQLExecute
Get the output parameters (if any), then tidying up with SQLFreeStmt

Try to look these up on MSDN or similar to get examples.

HTH

M.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top