473,395 Members | 1,411 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.

Printing a report with subreports

Hello,
I have a MS Access 2000 question.
I created a main report that consists of different subreports in the Detail section. I have a couple of queries that create tables for certain cities (the user enters the City ID). Everything works fine until the user enters an ID for a city that we don't have information for in all tables and then wants to see the report.

When printing the separate subreports - the report still shows up just with an empty line below the table heading (which is the report header) - which is good.
When printing (also preview) my main report only the subreports that have records for that city show up and the subreport with no entry for this particular city will not show up at all.
I would like to see the table heading (report heading) in my main report - if nothing else as a placeholder on my report (in stead of big white spots).

It would be great if somebody can give me a hint how to solve this problem.

Thanks,
Martina
Sep 7 '07 #1
1 2020
MMcCarthy
14,534 Expert Mod 8TB
Hello,
I have a MS Access 2000 question.
I created a main report that consists of different subreports in the Detail section. I have a couple of queries that create tables for certain cities (the user enters the City ID). Everything works fine until the user enters an ID for a city that we don't have information for in all tables and then wants to see the report.

When printing the separate subreports - the report still shows up just with an empty line below the table heading (which is the report header) - which is good.
When printing (also preview) my main report only the subreports that have records for that city show up and the subreport with no entry for this particular city will not show up at all.
I would like to see the table heading (report heading) in my main report - if nothing else as a placeholder on my report (in stead of big white spots).

It would be great if somebody can give me a hint how to solve this problem.

Thanks,
Martina
Put the headings for the subreports on the main report and just keep the details in the subreports. That way the headings will always print.
Sep 8 '07 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

4
by: deko | last post by:
I can't move a multi-page report to the last record unless I keep the popup form (that defined it's subreports) open. DoCmd.OpenReport "rptStandard", acViewNormal DoCmd.Close acForm,...
6
by: David B | last post by:
I have a report with 2 sub reports on it. The report is an invoice and the sub reports are dropping data onto the invoice. This worked fine if generating 1 invoice at a time. I am trying to create...
1
by: Stinky Pete | last post by:
Hi, I've got a sub report that has been set to print down then across as the data is sorted in date order. This sub report displays and prints as per my design when dealt with as a stand alone...
6
by: John | last post by:
Hi, I have simple database based on 3 tables. Relationship is 'one to many' between table 1 and 2, also between 2 and 3 table'one to many'. I have made form where I enter data in all 3 tables....
3
by: Edward | last post by:
ACCESS 2k I need to design a report based on a rota system for staff at various shops. The data is effectively stored in a single table, along the lines of: Initials (e.g. BH, FG, RM etc.)...
2
by: Hers2keep | last post by:
I have a report that prints daily. The report needs to print whether or not there are records available. I read in an old post on this group that putting an unbound text box in the report footer,...
0
by: John Smith | last post by:
Hello, I have 7 different crystal reports that need to be collated. Since I want to end up with a page of each (which all together make a single report), I created a blank main report and then...
6
by: Brett Barry: Go Get Geek! | last post by:
Hello, I have a main report with a Record Source, a DateToday table, that has the current Month and Year. I have about 60 queries, each pulling different data via ODBC, that I am creating...
1
by: DThreadgill | last post by:
Hi all! I have one Main Report with 6 subreports. The titles for these subreports are all in the detail section of the Main report above each subreport and the headers of each subreport is in the...
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
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...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
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
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
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.