Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Pass through query in Access 2000 to MVSDB2 mainframe prompts for ODBC.

Posted on 2012-03-19
4
Medium Priority
?
358 Views
Last Modified: 2012-03-19
I am trying to find out why when doing a pass through query to an MVSDB2 mainframe table from access 2000, the odbc prompt pops up? How do you invoke a specific odbc within the query? TIA
0
Comment
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
ID: 37738692
picture of query and prompt
example.bmp
0
 
LVL 28

Accepted Solution

by:
omgang earned 2000 total points
ID: 37738721
View the property sheet for the query.  You'll see a field/property named ODBC Connect Str.  This is where you can enter a DSNless connection string, e.g.

ODBC;Driver={Microsoft ODBC for Oracle};UID=OMGang;PWD=MyPassw0rd;SERVER=MyOracleServer;

OM Gang
0
 

Author Closing Comment

by:selectallfrompeoplewhereclueisnotnull
ID: 37739460
I would add that you have to open the query in design mode and right click on the title bar to get the correct properties to open. Took me a few minutes to find.
0
 
LVL 28

Expert Comment

by:omgang
ID: 37739588
Glad you found it.  Getting the property sheet differs between versions so I was waiting to see if you'd ask how and indicate which version.  In 2007 and later there's an option on the ribbon to show property sheet.
OM Gang
0

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Instead of error trapping or hard-coding for non-updateable fields when using QODBC, let VBA automatically disable them when forms open. This way, users can view but not change the data. Part 1 explained how to use schema tables to do this. Part 2 h…
This month, Experts Exchange sat down with resident SQL expert, Jim Horn, for an in-depth look into the makings of a successful career in SQL.
With Microsoft Access, learn how to specify relationships between tables and set various options on the relationship. Add the tables: Create the relationship: Decide if you’re going to set referential integrity: Decide if you want cascade upda…
With Microsoft Access, learn how to start a database in different ways and produce different start-up actions allowing you to use a single database to perform multiple tasks. Specify a start-up form through options: Specify an Autoexec macro: Us…

610 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question