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

RE: [sqr-users] Dynamic Heading Size



Unfortunately, we are on SQR 4.3. We will be on 6 soon, but most of our
clients are still on 4, so it won't benefit us right away, but it is great
to know this for the future. Thanks, Peter.

Ray, I'm going to give your suggestion a shot. I've tried everything else it
seems so this has *got* to work ;-)



-----Original Message-----
From: Ray Ontko [mailto:rayo@ontko.com]
Sent: Monday, February 10, 2003 10:02 AM
To: sqr-users@sqrug.org
Subject: Re: [sqr-users] Dynamic Heading Size


Bob, Peter,

Peter: Thanks for reminding me about the ALTER-REPORT command,
which allows you to switch to a new heading or footing, and 
specify a new size for a heading or footing.

Bob: So, what version of SQR are you using?

Ray

On Mon, Feb 10, 2003 at 07:11:43AM -0800, Peter Burton wrote:
> Ray,
> 
> You are incorrect in stating that SQR heading and footing are fixed in
size.
> SQR can have dynamic heading and footing sections and there can be
multiple
> versions of each to boot.  This feature was added in SQR 6.0.
> 
> Peter
> 
> -----Original Message-----
> From: Ray Ontko [mailto:rayo@ontko.com]
> Sent: Monday, February 10, 2003 9:57 AM
> To: sqr-users@sqrug.org
> Subject: Re: [sqr-users] Dynamic Heading Size
> 
> 
> Bob,
> 
> The heading size is a fixed number.  However, there is nothing to 
> prevent you from printing beyond the number of declared lines.
> 
> For example, if you declare the header as 3 lines, the body
> will aways start on line 4.  If you _know_ that the current
> page will have a 10 line header, start printing the body at
> line 11 (e.g., position (7,1)).  Then, when you print the 
> header, print lines 1-10.
> 
> Hope this helps.
> 
> Ray
> 
> On Mon, Feb 10, 2003 at 08:40:51AM -0600, Bob Helm wrote:
> > I'm attempting to dynamically define the size of my header in run time.
To
> > do this, in setup I declared an integer variable called #heading_size
and
> > let this follow begin-heading. I initiate the #heading_size and it shows
> > nicely in #debug. However, I get the following error:
> > 
> > Error in include file "gsh_print_mar.sqr" on line 207:
> >    (SQR 5313) Qualifier 'heading lines' requires a integer value.
> > begin-heading #heading_size
> > 
> > Error in include file "gsh_print_mar.sqr" on line 207:
> >    (SQR 4103) Cannot find required numeric parameter.
> > begin-heading #heading_size
> > 
> > Errors were found in the program file.
> > SQR: Program Aborting.
> > 
> > 
> > I'm tempted to write it off as just one of the quirks of SQR, but is
there
> > something that I'm missing or is this just not possible?
> > 
> > Thanks for any help.
> > 
> > B
> > The Programmer formerly known as Bob
> > Mediware Information Systems Inc.
> > (913) 307-1045
> > Bob.Helm@Mediware.com
> >  
> > 
> > This message has been sent using 100% recycled electrons
> > 
> > 
> > 
> 
> Content-Description: AUTOMATIC WARNING
> > Here was a non admissible message part of 'application/ms-tnef' MIME
> > type. It has been automatically discarded before sending the message to
> > the list. 
> 
> ----------------------------------------------------------------------
> 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
> 
> _______________________________________________
> 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

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