Creating Reports with Different Tables

B

Bethannye

I have 3 different tables I would like to put into one report. The common
theme being the Route #. The tables are information on do not delivers,
required deliveries and notes.

Each route needs to have it's own page then it needs to pull from the tables
the the do not delivers, the required deliveries and notes. Having it's own
heading for each.

Can someone help me create this? Is it possible?
 
S

Steve

Put the three tables in a query and join then on Route#. This should return
all records from the tables where the Route# is the same. Then set your
report's recordsource to the query.

Alternatively, you can create a main report based on your Route table and
three subreports based on your three tables here.

Steve
(e-mail address removed)
 
K

KARL DEWEY

Make a union query to gather all route numbers --
qryRoutes --
SELECT [Route #]
FROM [do not delivers]
GROUP BY [Route #]
UNION SELECT [Route #]
FROM [required deliveries]
GROUP BY [Route #]
UNION SELECT [Route #]
FROM [notes]
GROUP BY [Route #];

Then use it in your query and left join to the other 3 tables.
 
B

Bethannye

Then use it in your query and left join to the other 3 tables.

Can you explain how to do this?

KARL DEWEY said:
Make a union query to gather all route numbers --
qryRoutes --
SELECT [Route #]
FROM [do not delivers]
GROUP BY [Route #]
UNION SELECT [Route #]
FROM [required deliveries]
GROUP BY [Route #]
UNION SELECT [Route #]
FROM [notes]
GROUP BY [Route #];

Then use it in your query and left join to the other 3 tables.

--
Build a little, test a little.


Bethannye said:
I have 3 different tables I would like to put into one report. The common
theme being the Route #. The tables are information on do not delivers,
required deliveries and notes.

Each route needs to have it's own page then it needs to pull from the tables
the the do not delivers, the required deliveries and notes. Having it's own
heading for each.

Can someone help me create this? Is it possible?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top