A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » New Users
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

using data from two tables



 
 
Thread Tools Display Modes
  #1  
Old April 13th, 2010, 01:21 PM posted to microsoft.public.access.gettingstarted
hardarch
external usenet poster
 
Posts: 1
Default using data from two tables

hello kind folks who have vast knowledge...

I have a table of students who are employed by various companies. The table
has a field where the employer's name is entered. AND I have a separate
table of employer company details. I would like to be able to create a query
that gives me the student names, their employer's name, and their employer's
details. The employer's names are entered identically in the fields of both
tables (ie spelling etc)...

It seems like a simple problem but I just don't seem to be able to figure
out how to do it.. any advice would be great. thank you
Ads
  #2  
Old April 13th, 2010, 01:40 PM posted to microsoft.public.access.gettingstarted
John Spencer
external usenet poster
 
Posts: 7,815
Default using data from two tables

== Open a new query
== Add both tables to the query
== DRAG from Employer name in the Employers table to the Employer name in the
Students table to create a JOIN (it will appear as a line between the two
table fields).
== Select the fields you want to see in the result. (Double-click on the
fields or drag the fields into the grid.)

That is the basics.

John Spencer
Access MVP 2002-2005, 2007-2010
The Hilltop Institute
University of Maryland Baltimore County

hardarch wrote:
hello kind folks who have vast knowledge...

I have a table of students who are employed by various companies. The table
has a field where the employer's name is entered. AND I have a separate
table of employer company details. I would like to be able to create a query
that gives me the student names, their employer's name, and their employer's
details. The employer's names are entered identically in the fields of both
tables (ie spelling etc)...

It seems like a simple problem but I just don't seem to be able to figure
out how to do it.. any advice would be great. thank you

  #3  
Old April 14th, 2010, 12:16 AM posted to microsoft.public.access.gettingstarted
Jeff Boyce
external usenet poster
 
Posts: 8,621
Default using data from two tables

"... have vast knowledge ... " -- there's a lot of that goin' 'round here
....g

Jeff B.

"hardarch" wrote in message
news
hello kind folks who have vast knowledge...

I have a table of students who are employed by various companies. The
table
has a field where the employer's name is entered. AND I have a separate
table of employer company details. I would like to be able to create a
query
that gives me the student names, their employer's name, and their
employer's
details. The employer's names are entered identically in the fields of
both
tables (ie spelling etc)...

It seems like a simple problem but I just don't seem to be able to figure
out how to do it.. any advice would be great. thank you



  #4  
Old April 14th, 2010, 01:12 AM posted to microsoft.public.access.gettingstarted
John W. Vinson
external usenet poster
 
Posts: 18,261
Default using data from two tables

On Tue, 13 Apr 2010 16:16:37 -0700, "Jeff Boyce"
wrote:

"... have vast knowledge ... " -- there's a lot of that goin' 'round here
...g


For some of us, our knowledge is only half vast.
--

John W. Vinson [MVP]
 




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

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 04:20 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
Copyright 2004-2018 OfficeFrustration.
The comments are property of their posters.