Passing values from a text file

I am currently developing reports that prompt the user for values. I need to keep this available, but I also need to create a version of the same report that gets the values that are entered in the prompts, from a text file instead. I will be using a command line to run the reports and I’ve been able to read the text file using -vars on the command line, so I am able to get the values into a script. My problem is getting the values from the script into the report… any ideas? Should I be going straight from the -vars file to the report? Any examples would be greatly appreciated.

Thanks,
Amy Gillett
CNA Insurance


Listserv Archives (BOB member since 2002-06-25)

Amy,

You should be able to create a data provider against a ‘personal data file’, which would be the local text file that stores your variables. We have done this with success.

Jason Beard
AGD Consulting

"I am currently developing reports that prompt the user for values. I need to keep this available, but I also need to create a version of the same report that gets the values that are entered in the prompts, from a text file instead. "


Listserv Archives (BOB member since 2002-06-25)

Gillett,Amy L. schrieb:

I am currently developing reports that prompt the user for values. I need to keep this available, but I also need to create a version of the same report that gets the values that are entered in the prompts, from a text file instead. I will be using a command line to run the reports and I’ve been able to read the text file using -vars on the command line, so I am able to get the values into a script. My problem is getting the values from the script into the report… any ideas? Should I be going straight from the -vars file to the report? Any examples would be greatly appreciated.

Use the “ApplicationValue(…)” function in the report…


DI Walter Muellner
Delphi Software GmbH, Vivenotgasse 48, A-1120 Vienna / Austria Tel: +43-1-8151456-12, Fax: +43-1-8151456-21 e-mail: w.muellner@delphi.at, WEB: http://www.delphi.at


Listserv Archives (BOB member since 2002-06-25)