Microsoft Access Forums

Go Back   Microsoft Access Forums > Access Forums > Queries

Reply
 
LinkBack Thread Tools Display Modes
  #1  
Old 06-24-2007, 09:27 AM
Novice
 
Join Date: Jun 2007
Posts: 1
Yanagowa
Default Once query to lookup information in multiple tables

Hi All,

I have a number of tables and I want to use a query to extract the information (Lookup specific dates) so that I can generate a single report. I have managed to get it correct on 1 table however my ulitmate goal is to generate 1 report from information contatained in 4 different tables. I must stress that the information contained within each table is total independant and has no common area except the date, I want to present this info in seperate sections in 1 report. Am I going about it the right way? Any help greatly appreciated

Thanks
Reply With Quote
  #2  
Old 07-06-2007, 06:27 AM
Novice
 
Join Date: Jul 2007
Location: NY
Posts: 2
Brenda1636
Default

Your query should use a JOIN.

SELECT *
FROM table 1 INNER JOIN table2 ON table1.date = table2.date;

This will return all the information in both tables where the date in table1 is the same as the date in table2.

Brenda
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Table related to multiple tables by single ID MrTumnus Access 1 11-17-2009 11:05 AM
lookup values in backend tables deb56 Database Design 1 01-23-2008 08:12 AM
Combining columns from multiple tables/queries into one? ggranger007 Access 1 06-21-2007 11:02 AM
Lookup Tables JoeBio Database Design 1 09-01-2006 05:34 AM
Creating multiple reports from one Query Mike Cooper Reports 5 04-24-2006 03:00 PM


All times are GMT -8. The time now is 08:15 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.3.2 ©2009, Crawlability, Inc.