Sub Report Question

  • Thread starter Thread starter Swarfmaker
  • Start date Start date
S

Swarfmaker

I have a main report with 2 subreports , "subrptInternalTraining" and
"subrptExternalTraining"
This works just as expected. However, sometimes there is a blank sub report
as no training has been undertaken. In such a case I would like a label to
appear saying "No Training".
I've tried the following with no luck.

If IsNull(subrptInternalTraining) then
Me!Label8.visible = True
Else
Me!Label8.visible = False
EndIf

Any Ideas?

Iain
 
Use a text box with a control source like:
=IIf(subrptInternalTraining.Report.HasData,Null,"No records in Internal
Training")
 
Thanks Duane, works a treat!!

Iain
Duane Hookom said:
Use a text box with a control source like:
=IIf(subrptInternalTraining.Report.HasData,Null,"No records in Internal
Training")
 
Back
Top