Discussion:
how to print an empty report?
(too old to reply)
user
2007-11-07 17:42:42 UTC
Permalink
In Quickreports you could print an empty report with PrintIfEmpty. I'm not able to find something like that in Rave. How can I print a report if the DataBand has no data?

Thanks.
Trevor Keegan
2007-11-08 01:37:01 UTC
Permalink
Hi,

What exactly do you want to print if there is nothing in the report?

Regards
Trevor Keegan
user
2007-11-11 17:49:21 UTC
Permalink
Post by Trevor Keegan
What exactly do you want to print if there is nothing in the report?
I want to print the header and the footer.
Gil
2007-11-12 16:56:09 UTC
Permalink
Try using parameter
http://www.nevrona.com/Default.aspx?tabid=106
Dave White
2007-11-13 07:47:42 UTC
Permalink
Post by Trevor Keegan
Hi,
What exactly do you want to print if there is nothing in the report?
Actually, I have a need for this too. We need to keep an example of each of
our reports for QA reasons - change tracking and client auditing. These
should be empty reports with no data, and no design time text - just a
template showing the fixed text and graphics.

Dave White
Trevor Keegan
2007-11-15 00:04:01 UTC
Permalink
Hi,

I think in this case you probably have a couple of options:
1. Just create a blank report without any DataBands, or you could possibly
use a script or a DataMirror to show/hide the Blank Report information
2. You could use the the fact that RAVE will only print the header/footer if
there is a record to print in the first place. In this instance you can
spoof the connection to generate a blank record that can be passed into
RAVE. You will of course need to write a little bit of code in the
connection to create a blank record if there is no data in your DataSet, but
this should not be a too much of a problem :-)

Regards
Trevor Keegan
Dave White
2007-11-16 03:50:10 UTC
Permalink
Post by Trevor Keegan
2. You could use the the fact that RAVE will only print the header/footer
if there is a record to print in the first place. In this instance you
can spoof the connection to generate a blank record that can be passed
into RAVE. You will of course need to write a little bit of code in the
connection to create a blank record if there is no data in your DataSet,
but this should not be a too much of a problem :-)
Sometimes I think I overanalyze things a bit and overlook the easy solution.
This would be easy to do and would give me just what I need.

Thanks

Dave White
Trevor Keegan
2007-11-17 04:51:55 UTC
Permalink
Hello Dave,

Thats why the 'Different Perspective' was created....so that when get stuck
on the only solution that we can see, there is always someone who has a
different solution.....Thats would makes these groups great :-D

Regards
Trevor Keegan

Loading...