G
Greg
I have written a query that normally produces records for a report. I have
used the "Report Wizard" to create the report. I have manually added two
"things " to the report.
The first is a label in the Page Header of the report that says "no data"
with its visibility attribute set to no. When the underlying query produces
no data, I added an event procedure at the ON NO DATA property. This event
procedure simply turns the visibility property to yes so my "no data "
label is displayed.
So far all works well with and without data.
The second "thing" I manually added does not work so well. I have added a
text box to the report header section of the report. This text box asks me
for a report date and is placed on the report. This works well when the
underlying query produces records for the report. However if there are no
records for the report the text box produces a " #error " indicator. The
report asks me for the report date but displays the error indicator.
I want the report date to always appear wither there is data for the report
or not!
Can anyone tell me what I am doing wrong or give me some suggestions on how
to get my report date to display when no underlying data is present??
used the "Report Wizard" to create the report. I have manually added two
"things " to the report.
The first is a label in the Page Header of the report that says "no data"
with its visibility attribute set to no. When the underlying query produces
no data, I added an event procedure at the ON NO DATA property. This event
procedure simply turns the visibility property to yes so my "no data "
label is displayed.
So far all works well with and without data.
The second "thing" I manually added does not work so well. I have added a
text box to the report header section of the report. This text box asks me
for a report date and is placed on the report. This works well when the
underlying query produces records for the report. However if there are no
records for the report the text box produces a " #error " indicator. The
report asks me for the report date but displays the error indicator.
I want the report date to always appear wither there is data for the report
or not!
Can anyone tell me what I am doing wrong or give me some suggestions on how
to get my report date to display when no underlying data is present??