If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
Sub Report
Hello,
I want to display something on the main Report if there is no details in the sub report. How can I check, when the report opens if there is no detail in the sub report. I tried to put a sum field in the sub and check if zero, but it doesn't always work when there is multiple records to print. Thanks Abe |
#2
|
|||
|
|||
Sub Report
Try a text box with Control Source like this:
=IIf([Report].[HasData], Null, "Oops: nuffin 2 C.") -- Allen Browne - Microsoft MVP. Perth, Western Australia Tips for Access users - http://allenbrowne.com/tips.html Reply to group, rather than allenbrowne at mvps dot org. "Abe Katz" wrote in message ... I want to display something on the main Report if there is no details in the sub report. How can I check, when the report opens if there is no detail in the sub report. I tried to put a sum field in the sub and check if zero, but it doesn't always work when there is multiple records to print. |
Thread Tools | |
Display Modes | |
|
|