Antwort: Multiple Declare Select to the same report

[email protected]
Newsgroups gmane.comp.lang.4gl.fourjs.user
Message-ID <OF808CA5D9.71953131-ONC1256FCC.003B557D-C1256FCC.003CB10D@kofu.de>
Hey,
You can make ONE START REPORT rep1 TO ...

then you can have 3 different selects in sep. functions f.e.
In the foreach Statement you have the OUTPUT TO REPORT rep1(val1, val2, 
val3, ...)
be sure that the number and type of columns you send to the report will be 
the same in each foreach statement.

After that you have ONE FINISH REPORT.

If the number of Columns is different, you can declare some cursor 
directly in a report (f.e. in BEFORE GROUP, AFTER GROUP) and print the 
lines in the foreach statment

hth



Stefan Serwe

KOFU Tiernahrung Kottmann GmbH
EDV-Abteilung
Danziger Strasse 3-5
41460 Neuss
Tel.: +49 2131 181 202
Fax: +49 2131 181 204
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.