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

Re: [sqr-users] Having trouble with negative line positioning



Matt,

For that you'll want to use a function called wrapdepth() to determine
how many lines the wrap text will require before you attempt to print 
it.  You may also wish to write a procedure called wrapsplit() that 
splits the wrap text into two pieces: what will fit in a specified
depth, and what must be deferred to the next page (or pages).

Ray

On Wed, Jan 14, 2004 at 07:53:24AM -0500, Matt Rogish wrote:
> Ray,
> 
> Thanks for the reply -- it works!
> 
> The only problem I have now is when I have so many rows that it splits over 
> a page:
>  (SQR 5402) String cannot be placed on page:
> -- placement specified is out of range.  (-24,0,0)
> 
> The line number it specifies is the "position (+#num_in_type)".
> 
> So obviously the text needs to start on the previous page, but I can't find 
> anything like 'previous-page' in the docs.  I think I might be sunk and 
> have to include it later on in the report as a legend or a footnote, 
> although we like the idea of having it off to the right.
> 
> >From: Ray Ontko <rayo@ontko.com>
> >Date: Tue, 13 Jan 2004 17:51:31 -0500
> >To: sqr-users@sqrug.org
> >Subject: Re: [sqr-users] Having trouble with negative line positioning
> >
> >Matt,
> >
> >Use this:
> >  let #num_in_type = #num_in_type * -1
> >  position (+#num_in_type)
> >
> >Also, you may be interested in the KEEP-TOP modifier for PRINT WRAP.
> >
> >Ray
> 
> Thanks,
> 
> --
> Matt Rogish - rogishmn@muohio.edu
> Programmer
> Advancement Services
> Miami University
> 513.529.1420
> 
> Do not meddle in the affairs of SQR,
> for it is subtle and quick to anger! 
> 
> _______________________________________________
> sqr-users mailing list
> sqr-users@sqrug.org
> http://www.sqrug.org/mailman/listinfo/sqr-users
----------------------------------------------------------------------
Ray Ontko   rayo@ontko.com   Phone 1.765.935.4283   Fax 1.765.962.9788
Ray Ontko & Co.   Software Consulting Services   http://www.ontko.com/

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