Wrox Programmer Forums
|
Access Discussion of Microsoft Access database design and programming. See also the forums for Access ASP and Access VBA.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Access section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old July 18th, 2003, 12:31 PM
Ben Ben is offline
Authorized User
 
Join Date: Jun 2003
Posts: 75
Thanks: 0
Thanked 0 Times in 0 Posts
Default ODBC & Access

Currently, I'm importing whole tables via ODBC into Access, I'd like to know how I select only certain records to be returned.
Please be gentle I'm fairly new to ODBC!
 
Old July 20th, 2003, 09:41 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 308
Thanks: 0
Thanked 0 Times in 0 Posts
Default

You could either create a query/view in your ODBC database, or link the tables as queries - such as (and yes, this is only linking another access file, you'll have to put your ODBC connection string in)

SELECT * FROM Table1 IN 'c:\OtherDB.mdb' WHERE ID=26;

Steven

There are 10 kinds of people in the world - those who understand binary - and those with friends





Similar Threads
Thread Thread Starter Forum Replies Last Post
Memorise ODBC Username & Password in Access DB Roly Reefer Access VBA 23 January 20th, 2012 02:32 AM
ODBC Microsoft Access wehave74 Java Databases 1 January 29th, 2007 01:25 PM
Access / MSDE / ODBC JB. Access 4 November 11th, 2005 02:28 PM
Access vs odbc Sifac23 Access 1 December 3rd, 2003 03:40 PM
Access - Linked ODBC Tables Ben Access 0 July 24th, 2003 10:39 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.