RE: Antwort: Multiple Declare Select to the same report

"Scott Edwards" <[email protected]>
Newsgroups gmane.comp.lang.4gl.fourjs.user
Message-ID <97024A2D2FE4C54BA309CC17C50951465CCE25@johnreid-sbs.reidsteel.co.uk>
Hi There,
 
If I am understanding you correctly this might not work because the 3
arrays hold quite different information so 3 totally different select
and what not. So does this mean that what I am trying to do is not going
to be possible?
 
Regards,
 
Scott

________________________________

From: [email protected] [mailto:[email protected]] On
Behalf Of [email protected]
Sent: 22 March 2005 11:01
To: [email protected]
Subject: Antwort: [fourjs-users] Multiple Declare Select to the same
report



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



This email and any attachments are confidential to the intended recipient and may also be privileged. If you are not the intended recipient please 
delete it from your system and notify John Reid & Sons Ltd on +44 1202 483333. You should not copy it or use it for any purpose nor disclose or 
distribute its contents to any other person.
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.