SunQuest
           Database Management
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsDatabasesDatabase Management

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
AT&T devCentral & BlackBerry(r) Webcast Series: BlackBerry and GPS -Build Location Awareness into your BlackBerry Applications, July 10th-1:00PM EST. Register Today!
  #1  
Old May 4th, 2003, 01:54 PM
Glenstr Glenstr is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2003
Location: Alberta, Canada
Posts: 3 Glenstr User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
need help with access pass thru to oracle

I am trying to create a simple form in access 2000 to run an oracle stored procedure with a parameter passed from an entry on a form. I set up the odbc connection ok and have linked the 2 tables in oracle. When I set up a pass thru query to run sql on the tables or run the procedure it fails, giving me either an "odbc call failed" error or a "the microsoft jet engine cannot find the input table or query 'ODBC;DSN=db1;UID=user;PWD=pass;SERVER=db1;'

Not sure what to do here becuase the odbc is connecting ok for seeing the table, but if I try to run 'exec proc_name(50)' I get this error, even when trying a simple sql query on the oracle table it errors out.

ideas anyone?

TIA

Reply With Quote
  #2  
Old May 4th, 2003, 11:06 PM
hedge hedge is offline
Contributing User
Dev Shed Novice (500 - 999 posts)
 
Join Date: Apr 2002
Posts: 692 hedge User rank is Sergeant (500 - 2000 Reputation Level)hedge User rank is Sergeant (500 - 2000 Reputation Level)hedge User rank is Sergeant (500 - 2000 Reputation Level)hedge User rank is Sergeant (500 - 2000 Reputation Level)hedge User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 4 Days 21 h 22 m 10 sec
Reputation Power: 19
try wrapping it in a begin... end

begin
procedure;
end;

Reply With Quote
  #3  
Old May 5th, 2003, 10:26 AM
Glenstr Glenstr is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2003
Location: Alberta, Canada
Posts: 3 Glenstr User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
thanks

But I tried that - no go, now I'm getting an ODBC call failed error.

I did manage to get a select pass through query working, and even an insert statement, but as soon as I try to run a procedure it craters. I've made sure the user has execute rights to the proc, and I've tried setting the ODBC up as the owner of the tables and proc, same results.

I've also tried switching the ODBC from Oracle to merant to MS - same thing.

Not sure what to try next here...

Reply With Quote
Reply

Viewing: Dev Shed ForumsDatabasesDatabase Management > need help with access pass thru to oracle


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 

IBM developerWorks




© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway