RobertM3
16th November 2001, 23:39
Hello everyone,
Is there a way inside a baan script to have 3 reports open at one time sending data to each one and unix only create one request file?
Any help would be greatly appreciated.
:D
~Vamsi
17th November 2001, 01:02
Robert,
Lets say you have 3 reports being generated by one program script. But you do not want to present to the user the "Select Device" screen 3 times. This is possible by using tccomdll0010 in BaanERP or include with similar name in Baan IV or brp.open with mode = 0 for the second and third reports if your script looks like the following:
open.report.1
send.data.to.report.1
close.report.1
open.report.2
send.data.to.report.2
close.report.2
open.report.3
send.data.to.report.3
close.report.3
p.cole
18th November 2001, 12:10
If you use brp.open three times then after brp.close has been called you will need to merge the three created files into one using the seq.* functions.
Alternatively: create one report, and use an indicator variable in the report layout print expressions to control which layout needs to be printed.
~Vamsi
19th November 2001, 01:47
Phil,
I was thinking more on the lines of using "rewrite mode" for the first report and "append mode" for the second and third reports.
RobertM3
19th November 2001, 16:25
As always thanks for the fast reply folks.
I will try these solutions. We are on Baan IV
Thanks