[Date Prev][Date Next][Thread Prev][Thread Next]
[Author Index]
[Date Index]
[Thread Index]
[SQR-USERS Info]
[SQRUG Home Page]
Re: on-break causes blank lines to be inserted
- Subject: Re: on-break causes blank lines to be inserted
- From: "Kulshrestha, Alok" <ALOKKULSHRESTHA@IMF.ORG>
- Date: Wed, 1 Sep 1999 14:17:41 -0400
This happens, if you print variable exceeds the page width. In first case ,
you have the $ClassDesc and $desc printing within the page width and it
doesn't insert a blank like, but in second case it should be.
Try to keep the print string up to the page width. You can find the maximum
column by using #SQR-MAX-COLUMNS reserved variable.
Hope this helps you!
-Alok Kulshrestha
Ext. 39083
IS11-121 (TGSIF)
> -----Original Message-----
> From: Joe Nodeland [SMTP:jnodeland@DCCNET.COM]
> Sent: Wednesday, September 01, 1999 1:22 PM
> To: Multiple recipients of list SQR-USERS
> Subject: Re: on-break causes blank lines to be inserted
>
> Tried that, makes no difference. Now my code looks like
>
> begin-procedure AdvanceLine
> position (+1)
> end-procedure
>
> print $classdesc ( ,{col1},50) bold shade on-break print = CHANGE
> level = 1 before = AdvanceLine
> print $desc (+1,{col2},40) shade on-break print =
> CHANGE level = 2
>
> This got rid of one blank line, there is still a blank line where the
> $desc break is (if the $desc data doesn't change, a blank line is printed)
>
> If I change the code to
> print $classdesc ( ,{col1},100) bold shade on-break print = CHANGE
> level = 1 before = AdvanceLine
> let $desc = &locdesc || ' *** ' || &EqNumdesc
> print $desc ( ,{col2},90) shade on-break print =
> CHANGE level = 2 before = AdvanceLine
>
> the second call to Advance line never occurs. Some days I wish I did not
> write sqr reports....
>
>
> ----- Original Message -----
>
>
> TRY copying pm.description into some variable and printing it after
> ...
>
> like
>
> pm.Description &desc
> print &desc (+1,{col3}) bold
> >
>