473,395 Members | 1,647 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Subreport questions


Hi

I have multiple subreports that are appearing in a report. I've set
them up in the page header section. The subreports aren't really
related. They are just totals that have been requested by the client.
It's a one page report in all cases.

I have 2 questions. First, why are the subreports taking up so much
room in the report? I have to leave a large chunk of empty space in the
page header, even though the subreports don't take up that much space.
The subreports themselves only take up as much room as it takes for
"Total = 999999999".

Secondly, if I run the subreport, I get 1 answer. If I run the report,
I get another number entirely. Not sure what's going on there with
this?

Could someone help?

Thanks

Jeff

Jan 14 '07 #1
3 1821
Jeff wrote:
Hi

I have multiple subreports that are appearing in a report. I've set
them up in the page header section. The subreports aren't really
related. They are just totals that have been requested by the client.
It's a one page report in all cases.

I have 2 questions. First, why are the subreports taking up so much
room in the report? I have to leave a large chunk of empty space in
the page header, even though the subreports don't take up that much
space. The subreports themselves only take up as much room as it
takes for "Total = 999999999".
Page Headers do not support CanGrow = Yes Use the Report Header or a Group
Header instead. Then you can make the subreports very small (vertically) and
let them grow to what is needed.
Secondly, if I run the subreport, I get 1 answer. If I run the report,
I get another number entirely. Not sure what's going on there with
this?
Do you have entries in the MasterLink and ChildLink properties? That will
effectively apply a filter to the subreports.

--
Rick Brandt, Microsoft Access MVP
Email (as appropriate) to...
RBrandt at Hunter dot com
Jan 14 '07 #2

I didn't think that I'd need parent/child relationships for several
queries that have no relationship. Will it impact the fact that I only
1 the subreport one time to tell it to have a relationship with another
query? How would that work? Right now, I have 7 subreports, each with a
specific type of query attached to it, totalling another type of field
or requirement.

Thanks.

jeff

Jan 15 '07 #3
Jeff wrote:
I didn't think that I'd need parent/child relationships for several
queries that have no relationship. Will it impact the fact that I only
1 the subreport one time to tell it to have a relationship with
another query? How would that work? Right now, I have 7 subreports,
each with a specific type of query attached to it, totalling another
type of field or requirement.

Thanks.

jeff
Sorry, but that is gibberish. I was not asking about relationships (queries
don't have them by the way, only tables do). Subreports are hosted inside
subreport *controls* and subreport controls have two properties MasterLink and
ChildLink. If those have entries in them then your subreport will be filtered
based on those entries. I was just suggesting that you check those properties.
--
Rick Brandt, Microsoft Access MVP
Email (as appropriate) to...
RBrandt at Hunter dot com
Jan 15 '07 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Steve Edwards | last post by:
I am trying to use an existing report as a subreport in another report. I have the subreport added to the main report, but the only thing that shows up where the subreport should be is the name of...
8
by: dixie | last post by:
I have a report with a subreport. The source object for this subreport varies according to the value of a field in a table. I am trying to programmatically set the object source for the subreport...
9
by: Downstreamer | last post by:
Design is as follows: A form for the user to input criteria to be used as the where part of the report's recordsource. This includes a multiselect list box as part of the criteria selection. ...
7
by: Ellen Manning | last post by:
I've got an A2K report showing students and their costs. Student info is in the main report and costs are in a subreport for each student. The user inputs the program desired then only those...
1
by: shaqattack1992-newsgroups | last post by:
I know this is kind of a weird question, but is there anyway to give a subreport control of a main report? I posted my situation earlier about having drawings print out after a group. I have a...
0
by: C | last post by:
Hi, I have a main Report which has a SubReport. This SubReport also has a SubReport. I set the data of my main Report and Subreport through code DataSet dsMainReport =...
2
by: Ron | last post by:
I have a report let's call rptOne. On rptOne I have a subreport called srptOne. On srptOne I have a subreport called srptTwo. Sometimes, srptTwo is there and shows it's data and sometimes not,...
11
by: Simon | last post by:
Dear reader, The syntax for the VBA code to change the RowSource of a Master Report is: Me.RowSource = "TableOrQueryName"
1
by: Simon | last post by:
Dear reader, My SubReport is synchronized with a LinkMasterField and LinkChildField. If I put in the Open event of the SubReport Me.RecordSource = "QueryName" an error pups up. It seems to...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.