View Single Post
  #1  
Old May 27th, 2010, 09:55 PM posted to microsoft.public.access.reports
FloodEbb
external usenet poster
 
Posts: 4
Default Show phrase when no data for a report

I have followed several threads on this subject which suggest using the IIf
statement in a new text box. Some suggest the IIf should be on a particular
field and some suggest on the report itself.

I am unable to get the required result and wonder when using a text box for
the control source (to enter the IIF statement in to), where it should be
placed on the report.

Specifically my report is named "DR Diving Record Rpt" and a field from it
is "ship"
I have tried adding a text box with the following
=IIf([DR Diving Record Rpt].[Report].[HasData], Null, "No ships today")
and also tried
=IIf([Ship] Is Null, "No Ships today", [Ship])

Any help please, thanks