Solved

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

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

Use Case: Protecting a Hybrid Cloud Infrastructure

Microsoft Azure is rapidly becoming the norm in dynamic IT environments. This document describes the challenges that organizations face when protecting data in a hybrid cloud IT environment and presents a use case to demonstrate how Acronis Backup protects all data.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Object Variable or With Block Variable not set - Microsoft Access vba 3 32
Calculation in Access 5 26
backup programme - VBA 3 24
DCount Type Mismatch 2 22
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…
I originally created this report in Crystal Reports 2008 where there is an option to underlay sections. I initially came across the problem in Access Reports where I was unable to run my border lines down through the entire page as I was using the P…
Familiarize people with the process of retrieving data from SQL Server using an Access pass-thru query. Microsoft Access is a very powerful client/server development tool. One of the ways that you can retrieve data from a SQL Server is by using a pa…
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…

770 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