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

Re: Page 1 of -1



I have seen something similar to this where I have an error
that occurs in the begin-heading or begin-footing section.
Apparently the error handling is a little different there
than in a normal procedure.

I first noticed the problem when doing a STOP QUIET
after using PRINT to print a message to the report
file telling the user they had entered an invalid
parameter value.  The PRINT then caused the begin-heading
to fire (it always runs after a page is generated) and then
in the heading I did a USE-COLUMN, but hadn't defined
COLUMNS yet.  I got a similar problem when I forced
other runtime errors to occur in the begin heading
(GRAPHIC () HORZ-LINE , too wide for the page, for example).

So, you might check the heading to see if something like this
is happening.

Ray

> I'm developing reports for SQR 3.0.12/NT/ORACLE & SYBASE. I have one report
> that is driving me to distraction. The code and the setup information for
> the report looks correct but viewer and report claim that it's page 1 of
> -1. As a result the viewer doesn't open when you include -ZIV flag. I've
> worked on about 150 reports and this is the only time I've seen this. Has
> anyone else run across it?
>
> Thanks,
>
> David Colangelo
> American Management Systems
>

----------------------------------------------------------------------
Ray Ontko       |  Ray Ontko & Co  |  "Time for a new signature line."
rayo@ontko.com  |  Richmond, In    |  See us at http://www.ontko.com/