Do not print line feed if condition is not met

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have a report that I only want to print advertisers with mutilpe records
for the Month. I am using the count field to see if > than 1. If true I
print the advertiser, if false I do not want a blank line to print. I have
an advertiser header and footer and have the data printing after the
advertiser footer. How do I stop the blanks?

Thanks in advance.

Sarah
 
Hi Sarah

I would in the Detail Format Event place a code to check if the count field
is null then don't print

if isnull([count field]) then
me.printsection=false
me.movelayout=false
end if

This will stop the empty record from printing and move on to the next
record.

Try and see if it works

Good Luck
Richard
 
Back
Top