Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How could I know there is no data in the report

Status
Not open for further replies.
Sep 29, 2003
28
0
0
BY
I'm using CR9. Reports are viewed trough VB application. How could I know there is no data in report? If there is no data, i'd like to show some messagebox from VB application and not to print the report. Is it possible?
Thanks for help.
 
Hi

Create in your report
a formula
@Message

pick the field that you have as primary key

if
isnull{your_field}or
{your_field} = " " then
"NO DATA IS AVAILABLE"
else
" "
place that in your report footer

hope this helps

cheers




pgtek
 
2pgtek:
Thanks for advice, but i'd like to show if there is no data in report in VB application and not to show report at all.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top