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

ODBC error call to Oracle

Status
Not open for further replies.

suzreid

Technical User
Sep 26, 2000
59
GB
In my application I have a call to an Oracle procedure that bombs out on .execute with an ODBC call fail error. If I go in to Oracle and exec the procedure that is being called the procedure runs fine, it's just when I call it from the application.

The code to call this procedure is the same as the code to call other procedures within the application and all the other procedures are called and executed correctly from the app. I can't see any difference in the failing one from any other.

Here is the code that is being run from the app if it's any help to you.

Sub DeleteSystemTemp()

strsql = "{call delete_system_temp}"

Set qryDelChanges = con.CreateQueryDef("", strsql)
qryDelChanges.Execute

End Sub



Suz
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top