Advertisement

01.12.2006 at 04:34AM PST, ID: 21693799
[x]
Attachment Details

ODBC - linking to an Access query rather than an Access table?

Asked by BlueDelta5 in Microsoft Access Database

Tags: queries, table

I'm using a third party card-writer package called CardFive which comes bundled with Zebra card printers - it allows me to use ODBC to pull user name records from a table in an existing MSAccess 2002 database (.mdb). Cardfive can then merge this data to print onto plastic ID cards designed in its own interface.
At present I'm using a file dsn, with ODBC pointed to the .mdb.dsn file. This works okay - but I get the whole table (all records) appearing for printing. I want to restrict this to just a selection of records, based on a boolean field in the table. I think this is an ODBC issue, rather than a limitation of Cardfive which appears to just use whatever it sees in the data source field.
I could create a select query which generates the required recordset, but (here's the question) how do I get ODBC to look at that query (rather than the table)? Or is there some other better way to do list just the records I need, instead of the whole table?
I'm hoping this can be done without too much trouble or additional coding.

Not urgent, but any help would be appreciated.

Start Free Trial
[+][-]01.12.2006 at 04:41AM PST, ID: 15680588

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]01.12.2006 at 04:56AM PST, ID: 15680695

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zone: Microsoft Access Database
Tags: queries, table
Sign Up Now!
Solution Provided By: burrcm
Participating Experts: 5
Solution Grade: B
 
 
[+][-]01.12.2006 at 04:56AM PST, ID: 15680697

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]01.12.2006 at 04:57AM PST, ID: 15680707

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]01.12.2006 at 05:28AM PST, ID: 15680958

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]01.12.2006 at 06:26AM PST, ID: 15681514

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]01.12.2006 at 08:21AM PST, ID: 15682691

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]01.13.2006 at 06:53AM PST, ID: 15691776

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32