PC Review


Reply
Thread Tools Rate Thread

Complex query help

 
 
Mickie
Guest
Posts: n/a
 
      19th Sep 2011
First and foremost, thank you for looking at my post and for giving
any and all help!

I have a an access database currently with two tables in it; the first
table is called Employees and contents a list of Employee's Last Name,
First Name, and Birth Date. The second table contains the same
information including a lot more; it is called UPDATEDL. This
database was imported from a DBF file into the access table name
UPDATEDL.
What I need to do is compare the Employees table against the UPDATEDL
table and find Employee's name (last, first and birth date) that match
in both tables. Once a match is found I would like to run a report to
print out the results. I would like this to be done by just clicking
a button in a Access form and the user would not need to do anything
else.

Thank you for any input,
Mickie
 
Reply With Quote
 
 
 
 
John W. Vinson
Guest
Posts: n/a
 
      19th Sep 2011
On Mon, 19 Sep 2011 07:28:40 -0700 (PDT), Mickie <(E-Mail Removed)>
wrote:

>First and foremost, thank you for looking at my post and for giving
>any and all help!
>
>I have a an access database currently with two tables in it; the first
>table is called Employees and contents a list of Employee's Last Name,
>First Name, and Birth Date. The second table contains the same
>information including a lot more; it is called UPDATEDL. This
>database was imported from a DBF file into the access table name
>UPDATEDL.
>What I need to do is compare the Employees table against the UPDATEDL
>table and find Employee's name (last, first and birth date) that match
>in both tables. Once a match is found I would like to run a report to
>print out the results. I would like this to be done by just clicking
>a button in a Access form and the user would not need to do anything
>else.
>
>Thank you for any input,
>Mickie


Actually pretty simple.

Create a new Query. Add both tables to it. Drag the FirstName field from one
table to the FirstName field in the other, then do the same for LastName, then
for Birthdate. Select whatever fields you want to see in the report.

Now create a Report - for starters you can use the Report Wizard, or you can
create a new blank report in the designer and use this query as the
Recordsource. If you have a switchboard you can put a button on it to launch
the report, or you can create a little unbound Form and use the toolbox wizard
to create a form to launch the report.

Here are some possibly useful resources:

Utter Access discussion forum and resources:
http://www.utteraccess.com

Jeff Conrad's resources page:
http://www.accessmvp.com/JConrad/acc...resources.html

The Access Web resources page:
http://www.mvps.org/access/resources/index.html

Roger Carlson's tutorials, samples and tips:
http://www.rogersaccesslibrary.com/

A free tutorial written by Crystal:
http://allenbrowne.com/casu-22.html

A video how-to series by Crystal:
http://www.YouTube.com/user/LearnAccessByCrystal

MVP Allen Browne's tutorials:
http://allenbrowne.com/links.html#Tutorials


--

John W. Vinson [MVP]
Microsoft's replacements for these newsgroups:
http://social.msdn.microsoft.com/For...-US/accessdev/
http://social.answers.microsoft.com/.../en-US/addbuz/
and see also http://www.utteraccess.com
 
Reply With Quote
Reply

Thread Tools
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

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
when i run my query an error message that says "query too complex jam dorado Microsoft Access 2 1st Apr 2008 07:02 PM
Query is too Complex error message when trying to run query. =?Utf-8?B?SmVhbi1GcmFuY29pcyBHYXV0aGllcg==?= Microsoft Access Queries 3 28th Oct 2007 10:24 AM
Complex query with Union Query in process runs for ever Stapes Microsoft Access 2 10th Oct 2007 02:36 PM
help ... similiar to parameter query; complex query =?Utf-8?B?bWFyZ2FyZXQ=?= Microsoft Access Queries 4 26th Sep 2007 12:14 AM
Using toggle buttons in a complex query (complex for me, at least) =?Utf-8?B?QmlsbHk=?= Microsoft Access Forms 4 23rd Jun 2005 02:08 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 03:17 PM.