mdl@world.std.com (Michael D Lemon) writes:
>After much ado, it seems the problem is occuring in my report with
>using statements. This is very depressing. Could it be possible
>to have too many using statements in a report? I have much larger
>reports than this one and they run without error.
Yes, USING is a primary culprit in -4518 errors. If you have USING
strings that are repeated often (eg: "mm/dd/yyyy"), you can reduce (but
not eliminate) the threat of these errors:
REPORT .....
DEFINE dtdstr CHAR(10)
...
FORMAT
PAGE HEADER
IF PAGENO = 1 THEN
-- first time in, set USING strings
LET dtdstr = "mm/dd/yyyy"
END IF
...
PRINT ... date_variable USING dtdstr
...
PRINT ... another_date_variable USING dtdstr
More current versions of 4GL (4.12UD, I think) reduce (johnl may say
eliminate, even) this problem.
=======================================================================
Dennis J. Pimple dennisp@informix.com Opinions expressed
Senior Consultant -------------------- are mine, and do not
Informix Software Inc Voice: 303-850-0210 necessarily reflect
Denver Colorado USA Fax: 303-779-4025 those of my employer.