Page 1 of 1

Variable File name

Posted: Tue Jul 15, 2008 9:29 am
by radhak
Kathleen,____I need to do the following:____Run an R&R report and create an intermediary file which should be having the user-id of the person who is running it as part of the file name (or should start with the user-id as the name of the file).____This file then will be used by another R&R to run a report. As long as I fix the name of the file it works. But how do I get the name to be a variable and then access the file with the second R&R Report.____I need to find a way to have run this report in multiple computers at the same time (simultaneously).

=> RE: Variable File name

Posted: Tue Jul 15, 2008 9:33 am
by kfleming
You would need to use runtime and create a small application that would get the user name, and then set the RI_OUTFILE of the first report to export to that filename. For the second report, you would set the RI_MASTER to the same filename as in the first RI_OUTFILE.______Kathleen__R&R Support

==> RE: Variable File name

Posted: Mon Jul 21, 2008 8:42 am
by radhak
Thanks.____Is there a sample which I could get hold of so that I will know the exact sequence. I am bit confused on the parameters____