?
Solved

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

Posted on 2012-03-19
4
Medium Priority
?
357 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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

Access developers frequently have requirements to interact with Excel (import from or output to) in their applications.  You might be able to accomplish this with the TransferSpreadsheet and OutputTo methods, but in this series of articles I will di…
This article shows how to get a list of available printers for display in a drop-down list, and then to use the selected printer to print an Access report or a Word document filled with Access data, using different syntax as needed for working with …
Using Microsoft Access, learn some simple rules for how to construct tables in a relational database. Split up all multi-value fields into single values: Split up fields that belong to other things into separate tables: Make sure that all record…
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…
Suggested Courses

770 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