[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



That's not the problem.  I've tried
let $ClassDesc = 'XXX'
let $desc = 'XXX'
and still get the same problem.




----- Original Message -----
Subject: Re: on-break causes blank lines to be inserted


> 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-----
> >
> > 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
> >       >
> >