Solved

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

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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

When you are entering numbers in a speadsheet, and don't remember what 6×7 is, you just type “=6*7" instead. It works in every cell! This is not so in Access. To enter the elusive 42 in a text box, you have to find a calculator, and then copy the re…
Regardless of which version on MS Access you are using, one of the harder data-entry forms to create is one where most data from previous entries needs to be appended to new records, especially when there are numerous fields and records involved.  W…
With Microsoft Access, learn how to start a database in different ways and produce different start-up actions allowing you to use a single database to perform multiple tasks. Specify a start-up form through options: Specify an Autoexec macro: Us…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

708 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