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