[x]
Posted via EE Mobile

Search, ask, and monitor your questions on the go with EE Mobile. Visit Experts Exchange from your mobile device and never be out of touch again.

07/08/2009 at 08:41AM PDT, ID: 24553568 | Points: 500
[x]
Attachment Details

How do I relate two tables using a common field in Access 2007?

Asked by meinemitternacht in Microsoft Access Database

Tags: relationships, access 2007, tables

I just finished up a payroll program in Access (thanks to those who helped me there), and now I'm working on my last project, keeping track of our services:  well drilling and pump installation. I'll explain a little about us first.  We're a non-profit operating in Zambia drilling wells, installing pumps *and* repairing broken pumps.  So we have a lot of information to keep track of.

What I want to accomplish is this:

Keep track of wells drilled
Keep track of pumps installed
Keep track of pumps repaired.

The following scenarios can happen:

1) We drill a well and install a pump.  <--- Normal
2) We drill a well and don't install anything.  <--- rarely
3) We repair an old handpump, so no well drilling here. <--- we will have many of these to do soon.

It would be amazing to be able to enter the data for a well, and later, enter the data for the pump and have the two be joined somehow, as a relationship.  I have thought of some things that might make this easier:

Well Serial Numbers and Pump Serial Numbers (Purely fictitious numbers, only in the database) that could have a format like this... WFTO-2009-W-0001 where "W" mean well and 0001 is auto-incrementing.  That way, we could also separate them by year without much more work (in a drop down list?)

I am open to any suggestions you may have.  If you would like the sample database, I'll upload it to my website, as I can't attach Access 2007 files here.
[+][-]07/08/09 10:00 AM, ID: 24805873

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 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]07/08/09 08:47 PM, ID: 24810622

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 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07/09/09 12:57 AM, ID: 24811446

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 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]07/09/09 01:58 AM, ID: 24811736

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 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07/09/09 07:02 AM, ID: 24813722

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 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]07/09/09 07:56 AM, ID: 24814349

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 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07/09/09 09:13 AM, ID: 24815217

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 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]07/12/09 03:58 AM, ID: 24833948

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 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]07/26/09 11:25 AM, ID: 24946828

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 30-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20091111-EE-VQP-91 - Hierarchy / EE_QW_3_20090701_SELECT_ZONES