[comp.databases] Informix 4GL report page length

jw@pan.UUCP (Jamie Watson) (09/17/89)

Is there any way to specify the page length at runtime in an Informix 4GL
report routine?  According to the documentation, it accepts only an integer
for this value.  I just can't believe this is really true...

jw

gm@edvcom.UUCP (G.Moschen) (09/18/89)

In article <569@pan.UUCP>, jw@pan.UUCP (Jamie Watson) writes:
> 
> Is there any way to specify the page length at runtime in an Informix 4GL
> report routine?  According to the documentation, it accepts only an integer
> for this value.  I just can't believe this is really true...
> 
> jw

you are right, that's very strange. I think everything in the US has 66 lines
per page. There are two workarounds. The first is as strange as the original
'feature', Make a small pre-program where you patch the form length to the
current .arc file. I know it's very crummy but it works. The second is to
make a user defined function which sets the value at runtime through the     
global variable, which holds the form length. As there is no technical
reference manual to all the Informix products you have to trial-and-error
it out. If it's not a static it should work, though i didn't test it, 'cause
im tired of getting caught by all those trap's.

cheers, G.M.

+-----------------------------------------------------------------------------+
| G}nther Moschen              |   UUCP  : ...!uunet!mcvax!unido!edvcom!gm    |
| EDV-COMPAS Gmbh              |   FAX   : +49 8331 84024                     |
| Woringer Str. 4-6            |   PHONE : +49 8331 86078                     |
| D-8940 Memmingen  W-Germany  |                                              |
+------------------------------+----------------------------------------------+

" I hat poor performance RDBMS's and 	      "
" I hate the unflexibility of E-SQL's and     "
" I hate DB's in raw devices but  	      "
" I love parallel pattern matching algorithms "