473,320 Members | 1,817 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,320 software developers and data experts.

Report behaving differently as a sub report

jimleon
74
Hello People,

I have a main report containing 3 subreports fed by 3 queries in access 2003. All worked fine until recently when one of the subreports wouldn't print out. I found that for that month there was no data coming from its query (as no records matched). If I output the report on its own I would get the headers, 1 blank data line and the footers. I used the HasData property to set the contents of the data to 0 or null. This outputs ok on its own but when using it as a subreport all of it is missing (I get a blank page). Anyone know why this is happening?

Jim
Jun 4 '10 #1
3 1207
mseo
181 100+
hi,
you need to use iif and Nz functions in your calculation fields
to handle the null values
Jun 4 '10 #2
jimleon
74
@mseo
I used iif and hasData to produce psuedo output in the fields... as I said it prints out fine as a stand alone report, it just doesnt when used as a subreport
Jun 5 '10 #3
mseo
181 100+
ok
open the query design window and open join properties window by clicking the relationship between the tables that the data come from and check the second option
Jun 8 '10 #4

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

Similar topics

3
by: Pecanfan | last post by:
Hi, I've got an access report which contains a sub-report. The sub-report contains various items in a group Footer which culminates in a running sum text box called txtGrandTotal. I want to...
1
by: Crystal Report - LoadSaveReportException | last post by:
I have a web system which will display a crystal report for clients. It is written in Visual Studio 2003, VB.Net and Crystal Report which comes with VS 2003, and it is running on Windows 2000. It...
2
by: bingomanatee | last post by:
I have developed what amounts to a fancy shopping cart wizard for a scientific instrument using VB.NET. We are having some disturbing phenomena relating to dropdown controls. On my system and...
2
by: microsoft . public . sqlserver | last post by:
I am a Web developer. I am new to VB 6.0 and Crystal Report. I have joined an organisation where there is an application running(developed in VB6 and crystal report 7). I have to modify one report....
0
by: r0ckster | last post by:
Hi! I have an asp application that is using crystal report 10/crystal report viewer to view reports on the web. This app works well in windows 2k but when i migrated the code to xp, the error...
0
by: sudhaMurugesan | last post by:
Hi all, I have a problem in binding report. i bind 1st report p1.report in the page load. the same page contains a link to other report and when the user clicks the link the p2. report...
4
by: vishwadeepsharma | last post by:
Hi Freinds, We are facing a very strange problem. Our system consists of UNIX batches which call the PLSQL procedures to execute the validations on the database. We have a list of plsql procedure...
0
by: kishorebarik26 | last post by:
Dear reader, I need a way by which I can call one report from another report in Crystal Report or in Rdlc Report in VB.net 2005. Two report will not interlinked any way, so I cannot use Subreport...
5
by: lionelm2007 | last post by:
When I view a report in another machine, it looks slightly different. First of all, the logo in the report heading does not show up when you print, also in print preview, you can see the last letter...
1
by: dzgreek | last post by:
I use VB6 and for the first time its Data Report designer - I am using it without a data environment and I set my reports datasource property within my code. All I ever get is this error message...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

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.