Solved

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

Posted on 2010-09-02
5
421 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
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

Backup Your Microsoft Windows Server®

Backup all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Question has a verified solution.

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

In the previous article, Using a Critera Form to Filter Records (http://www.experts-exchange.com/A_6069.html), the form was basically a data container storing user input, which queries and other database objects could read. The form had to remain op…
I see at least one EE question a week that pertains to using temporary tables in MS Access.  But surprisingly, I was unable to find a single article devoted solely to this topic. I don’t intend to describe all of the uses of temporary tables in t…
Using Microsoft Access, learn some simple rules for how to construct tables in a relational database. Split up all multi-value fields into single values: Split up fields that belong to other things into separate tables: Make sure that all record…
In Microsoft Access, when working with VBA, learn some techniques for writing readable and easily maintained code.

920 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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now