G
Guest
I'm using Office Professional 2003, Access 2003 with service pack at its
latest level for the office product. I have a report in a database that has
3 separate sub reports active in this host report. My problem is there are
times that there will be "NO DATA" to report on any of the 3 different sub
reports and there are times that all 3 sub-report areas will have data to
report on. Think of it as a Primary keyed record with secondary data that is
also keyed to the primary, with possibly 3 different types of records in the
secondary file. Say primary record is a PR record, with secondary records as
SC-Type D, SC-TypeO, SC-TypeIP. On the main report, it has 3 sections: Page
Header, Detail, Page Footer. Page Header has information pertaining to the
Primary record "PR". The Detail section has 3 separate sub-reports with the
same format of: Record type, name, address, city, state, zip-code, with
SC-TypeD positioned to the top-left detail area, with SC-TypeO positioned to
the top-right detail area, and SC-TypeIP positioned just below the SC-TypeD
print area. Again, all three sub-reports have the same format, just
different record types. Each subreport controls what record type prints in
that area, Type D records to SC-TypeD area, etc.
What do I need to do to prevent wasting print line, page area when there may
or may not be a type D, or Type O record, only a Type-IP. Is there a way to
adjust only have two sub-report areas, and have the records float through
these print areas, say if there are no type-D or type-O records, the only one
to print would be the type-IP and it takes up the first sub-report area.
There can be multiple Type-D records, multiple Type-O records and multiple
Type-IP records, there can also be a time when there are no Typd-D, Type-O,
or Type-IP, just a primary record. The page footer contains data from the
primary record as well, its just the detail section that I can not figure out
how to properly do. Is this a code issue or can the tools from Access Report
builders/wizards fix this.
Thanks,
Robert
latest level for the office product. I have a report in a database that has
3 separate sub reports active in this host report. My problem is there are
times that there will be "NO DATA" to report on any of the 3 different sub
reports and there are times that all 3 sub-report areas will have data to
report on. Think of it as a Primary keyed record with secondary data that is
also keyed to the primary, with possibly 3 different types of records in the
secondary file. Say primary record is a PR record, with secondary records as
SC-Type D, SC-TypeO, SC-TypeIP. On the main report, it has 3 sections: Page
Header, Detail, Page Footer. Page Header has information pertaining to the
Primary record "PR". The Detail section has 3 separate sub-reports with the
same format of: Record type, name, address, city, state, zip-code, with
SC-TypeD positioned to the top-left detail area, with SC-TypeO positioned to
the top-right detail area, and SC-TypeIP positioned just below the SC-TypeD
print area. Again, all three sub-reports have the same format, just
different record types. Each subreport controls what record type prints in
that area, Type D records to SC-TypeD area, etc.
What do I need to do to prevent wasting print line, page area when there may
or may not be a type D, or Type O record, only a Type-IP. Is there a way to
adjust only have two sub-report areas, and have the records float through
these print areas, say if there are no type-D or type-O records, the only one
to print would be the type-IP and it takes up the first sub-report area.
There can be multiple Type-D records, multiple Type-O records and multiple
Type-IP records, there can also be a time when there are no Typd-D, Type-O,
or Type-IP, just a primary record. The page footer contains data from the
primary record as well, its just the detail section that I can not figure out
how to properly do. Is this a code issue or can the tools from Access Report
builders/wizards fix this.
Thanks,
Robert