Solved

How can I create a subreport inside of a report in Access 2003

Posted on 2010-09-02
5
428 Views
Last Modified: 2013-11-28
I have a report that show data and I would like to create a subreport inside this at the end with more data from the report on the top.
0
Comment
Question by:iscivanomar
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
5 Comments
 
LVL 1

Accepted Solution

by:
momo4kids earned 125 total points
ID: 33590452
Choose the subreport button on the tool bar and either create a new subreport or add an existing repot.
0
 
LVL 16

Assisted Solution

by:Sheils
Sheils earned 125 total points
ID: 33590457
Creating sub report is similar to creating sub form.

Open the report in design view.
Select subreport from the toolbar menu
Use your cursor to insert the sub report on the main report
Select the source object of the subreport (you can use a table,query or another report. I find it easier to create the other report which contain the data I want to use in the sub report first then inserting it in the subreport.)
link the report to the subreport using a field that is common in both

That should do it

Good luck
0
 
LVL 74

Expert Comment

by:Jeffrey Coachman
ID: 33590461
<create a subreport inside this at the end with more data from the report on the top.>
?
Can you explain what this means, please?

A subreport is designed to show Parent/Child (One-To-many) relationships.
Ex:
Customer-->Orders
Or
Employee-->Tasks

So, using a specific example from your data, can you explain what you are trying to achieve?
(A subreport may not even be needed...)

;-)

JeffCoachman
0
 
LVL 74

Expert Comment

by:Jeffrey Coachman
ID: 33590524
For example, if all you need are totals, you can do this quite easily in the Report Footer.

Drop a Textbox on the Report Footer and set the controlsource property to:
    =Sum([YourField])

So if you had a column of Prices and you wanted a total of them at the bottom of the report you would drop a Textbox on the Report Footer, and set the controlsource property to:
    =Sum([Price])

;-)

JeffCoachman
0
 

Author Closing Comment

by:iscivanomar
ID: 33591289
Thank you, I did not do this before but it seems really sample too.

0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Describes a method of obtaining an object variable to an already running instance of Microsoft Access so that it can be controlled via automation.
Preparing an email is something we should all take special care with – especially when the email is for somebody you may not know very well. The pressures of everyday working life stacked with a hectic office environment can make this a real challen…
In Microsoft Access, learn how to “cascade” or have the displayed data of one combo control depend upon what’s entered in another. Base the dependent combo on a query for its row source: Add a reference to the first combo on the form as criteria i…
With Microsoft Access, learn how to specify relationships between tables and set various options on the relationship. Add the tables: Create the relationship: Decide if you’re going to set referential integrity: Decide if you want cascade upda…

735 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question