Microsoft Access Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 
Go Back   Dev Articles Community ForumsDatabasesMicrosoft Access Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
  #1  
Old July 14th, 2004, 09:36 AM
Rdkirb49 Rdkirb49 is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jun 2004
Posts: 11 Rdkirb49 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Red face 10 tables one query

I have 10 tables. They are linked to 10 spread sheets. How can I link all ten tables together or to one query? In my query I tried to link them but the only thing that was queried was batch 3. All spreadsheets have an added field called batch. Each batch has a separate mail merge document attached to it (command button). I need a way to query all 10 tables to show which batch a particular SSN is listed. Please help...... Any help is greatly needed and appreciated.

Reg

Reply With Quote
  #2  
Old July 15th, 2004, 09:30 AM
ineuw ineuw is offline
Contributing User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Mar 2004
Posts: 82 ineuw User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 30 m 28 sec
Reputation Power: 5
By spreadsheet, do you mean a datasheet?

Each table must have a unique index key linking it to the successsive table, in one to one, or one to many relations. If the keys are not unique (indexed), you'll get mutliple and incorrect values. Also, 10 tables sounds a bit too much, but it depends on the number of fields.

This method will give you the result but you won't know which table the data is in unless there is some field which indicates this separately.

Reply With Quote
  #3  
Old July 16th, 2004, 06:50 AM
Rdkirb49 Rdkirb49 is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jun 2004
Posts: 11 Rdkirb49 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Thanks a million. I took the easy way out and created a table with the key information.

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsDatabasesMicrosoft Access Development > 10 tables one query


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway