LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Multiple Reports

I have created universal test software using a database. I am now at the reports stage and am planning to use Word. In my database I can reference the Word template that I want but how do I limit the information I am sending to the template?
I have a cluster of approximately 100 results. Each report will be customized and may only use 10 results. Currently I have created reports with bookmarks that I send the data to it. I would like if I did not have to recompile the main program and just reference added reports.
My solutions:
1. Have all 100 bookmarks in each report (a pain when adding new test fields).
2. Create a new VI for each report and only send the required information to the report (not sure how to do and if this is the right choice).

What is the right approach to report generation to make it simple and flexible?

Thanks,
Paul
0 Kudos
Message 1 of 2
(2,549 Views)
Not exactly what you are looking for, but the idea is the same.

Attached file is an example of what I used to send information to an Excel document. The software has a routine to correctly map the key names in the file to the actual data and write it into the Excel worksheet based on the location.

-Joe
Message 2 of 2
(2,546 Views)