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

RE: [sqr-users] blank line being inserted unexpectedly whileissuingprint commands



Do you have a next-listing or position() command, they also cause line
feeds.
Steve 

-----Original Message-----
From: sqr-users-bounces+steve.cavill=infoclarity.com.au@sqrug.org
[mailto:sqr-users-bounces+steve.cavill=infoclarity.com.au@sqrug.org] On
Behalf Of marc pechaitis
Sent: Tuesday, 12 April 2005 11:27 AM
To: sqr-users@sqrug.org
Subject: [sqr-users] blank line being inserted unexpectedly while
issuingprint commands

Hello All -
You've been super helpful to me in the past, and I've got another problem
that has me stumped.

I am writing a report that selects a row of data from a table and based on
the data in that row, it may decide to omit the line from the report.

So let's say I have table:
row 1 - a1
row 2 - a2
row 3 - a3
row 4 - b1
row 5 - b2
row 6 - b3
row 7 - c1
row 8 - c2
row 9 - c3

And I know that, based on the content of row 5 (b2) that I want to omit rows
4-6 (the b's).  I've got the logic working so that all three rows are
omiitted, but for some reason the output is:

a1
a2
a3

c1
c2
c3

and not:
a1
a2
a3
c1
c2
c3

I'm just using a basic "print $var (+1,1)" command and have been through the
code about a million times to see if I might have an extra "print"
statement in my exclusion processing, but I can't find anything.

Has anyone encountered anything like this?  Any suggestions of things to
check that could cause this?

Thanks!
Marc

_______________________________________________
sqr-users mailing list
sqr-users@sqrug.org
http://www.sqrug.org/mailman/listinfo/sqr-users



_______________________________________________
sqr-users mailing list
sqr-users@sqrug.org
http://www.sqrug.org/mailman/listinfo/sqr-users