Bill,
No code is required! Just base your report on a query that includes the comments
field and set the criteria for comments to Is Not Null.
--
PC Datasheet
Your Resource For Help With Access, Excel And Word Applications
resource@pcdatasheet.com www.pcdatasheet.com
"Bill" <bmcconnell21@hotmail.com> wrote in message
news:66a8db57.0401190528.6aeb7705@posting.google.c om...[color=blue]
> I am generating a report that will print out details for a particular
> customer.
>
> If I'm using a comments field which has data for some records
> belonging to this customer but some comments are blank i.e. no
> comments entered for this recordset what code to I have to write to
> ensure only the records with comments are printed.
>
> I think it's something to do with the "If fieldname Is Null then
> IsVisible is false" but I not quite sure.
>
> Can anybody help.
>
> Thanks
>
> Bill[/color]