[Date Prev][Date Next][Thread Prev][Thread Next]
[Author Index] [Date Index] [Thread Index]
[SQR-USERS Info] [SQRUG Home Page]

Re: Stopping pages with no 'body' being printed?



Are you using the On-Break command?

-----Original Message-----
From: Greg Williams [mailto:gregw6@HOTMAIL.COM]
Sent: Thursday, October 25, 2001 4:52 AM
To: SQR-USERS@list.iex.net
Subject: Stopping pages with no 'body' being printed?


I have a problem with a report I'm currently writing for PS HRMS:

The report is one page per Emplid, so when the employee changes I'm
using a
new-page command.  On each page I have a heading with some of the
current
employee's information.

My problem is this:  When some data is selected for the employee, the
new-page is executed.  It's only later on in processing that the
decision is
actually made to print data or not, depending on values etc.  If nothing
is
printed, and the next employee is selected, another new-page goes
through
without any print statements for the previous Emplid.  I think this is
the
cause of having some pages with a heading but no body.  I'm doing prints
all
over the place, and I don't particularly want to keep a variable that is
updated on the first print per person, then check that before issuing
the
new-page.  Is there an easy way to stop the 'blank body' pages being
printed?

Thanks
Greg

_________________________________________________________________
Get your FREE download of MSN Explorer at
http://explorer.msn.com/intl.asp


************************************************************
Omaha World-Herald Company computer systems are for business use only.
This e-mail was scanned by MailSweeper
************************************************************