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 » Setting Up & Running Reports
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Generating reports from two or more Access tables



 
 
Thread Tools Display Modes
  #1  
Old November 4th, 2004, 07:51 PM
wheelz
external usenet poster
 
Posts: n/a
Default Generating reports from two or more Access tables

I have just completed my first datebase in Access. Now I need to generate
some reports. The information for these reports are on different tables that
are all linked together by a common field. An example of what I am trying to
do is: off the employee table I need the field EMP_NAME, and off the days
table i need all the fields (DAY_DATE, CODE, HRS, HOLIDAY & NAME_SOC).
NAME_SOC is the linking field between the two tables. I need the report to
show the name, the date, the holiday, # of hrs, and the code for the time
off.

I have access to Crystal Reports and I would like to do my reports in there,
but I run into the same problem there, not being able to access all the data.

Matt
  #2  
Old November 4th, 2004, 08:43 PM
Marshall Barton
external usenet poster
 
Posts: n/a
Default

wheelz wrote:

I have just completed my first datebase in Access. Now I need to generate
some reports. The information for these reports are on different tables that
are all linked together by a common field. An example of what I am trying to
do is: off the employee table I need the field EMP_NAME, and off the days
table i need all the fields (DAY_DATE, CODE, HRS, HOLIDAY & NAME_SOC).
NAME_SOC is the linking field between the two tables. I need the report to
show the name, the date, the holiday, # of hrs, and the code for the time
off.

I have access to Crystal Reports and I would like to do my reports in there,
but I run into the same problem there, not being able to access all the data.



As long as you have linking fields in the tables, you can
create a query that Joins to tables. This allows you to use
all the fields from all the tables in your report.

--
Marsh
MVP [MS Access]
  #3  
Old November 4th, 2004, 08:53 PM
Marshall Barton
external usenet poster
 
Posts: n/a
Default

wheelz wrote:

I have just completed my first datebase in Access. Now I need to generate
some reports. The information for these reports are on different tables that
are all linked together by a common field. An example of what I am trying to
do is: off the employee table I need the field EMP_NAME, and off the days
table i need all the fields (DAY_DATE, CODE, HRS, HOLIDAY & NAME_SOC).
NAME_SOC is the linking field between the two tables. I need the report to
show the name, the date, the holiday, # of hrs, and the code for the time
off.

I have access to Crystal Reports and I would like to do my reports in there,
but I run into the same problem there, not being able to access all the data.



You can use a query with that as a criteria as the report's
record source.

Alternatively, I usually prefer to use the OpenReport
method's WhereCondition argument to fileter the report
(assuming you use a form button to open the report).

--
Marsh
MVP [MS Access]
  #4  
Old November 4th, 2004, 09:55 PM
Marshall Barton
external usenet poster
 
Posts: n/a
Default

wheelz wrote:

I have just completed my first datebase in Access. Now I need to generate
some reports. The information for these reports are on different tables that
are all linked together by a common field. An example of what I am trying to
do is: off the employee table I need the field EMP_NAME, and off the days
table i need all the fields (DAY_DATE, CODE, HRS, HOLIDAY & NAME_SOC).
NAME_SOC is the linking field between the two tables. I need the report to
show the name, the date, the holiday, # of hrs, and the code for the time
off.

I have access to Crystal Reports and I would like to do my reports in there,
but I run into the same problem there, not being able to access all the data.



Marshall Barton wrote:
You can use a query with that as a criteria as the report's
record source.

Alternatively, I usually prefer to use the OpenReport
method's WhereCondition argument to fileter the report
(assuming you use a form button to open the report).



Sorry, this was supposed to posted to a different thread.

--
Marsh
MVP [MS Access]
 




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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Convert Access 2003 to Access 97: Linked Tables Ed Warren New Users 5 November 4th, 2004 10:46 PM
Upload Image Jason MacKenzie General Discussion 1 September 1st, 2004 04:38 AM
Convert Access Linked Tables from AccessBE to SQL BC-w2k3s Database Design 0 August 24th, 2004 10:21 PM
What is MDE Charlie General Discussion 4 August 24th, 2004 04:15 PM
Need help with Tables Design and Relationships Tom Database Design 24 May 19th, 2004 06:51 PM


All times are GMT +1. The time now is 04:44 PM.


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