‎05-28-2018 09:52 AM
Hi,
I want to add text to the end of report ,but the labview code did not let me to this in standrad report,how can i do it in one report (only when i create other new report it save it in other file report)? PLS advise.
or
how can i copy specific lines and write them at the end of file ,in standrat report in html?
thank you.
‎05-28-2018 01:44 PM
‎05-29-2018 08:25 AM
I've written HTML Reports, and have read and written Excel Reports using the Report Generation Toolkit. The New Report function has an input for a Template, which (for Excel) means an existing Report that you may want to modify. This works like a charm in Excel, as there are functions to do such things as read the Report or go to the end of the Report (i.e. find the last row), so I tried doing something similar with HTML. However, there are no analogous "Read" or "Move" functions for such Reports, and what you end up doing (I did the Experiment) is overwriting the old Report.
In lieu of re-writing the RGT, I'm going to file an Idea on the Idea Exchange to allow "appending" to an existing Report. Note that there are functions in the RGT called "Append Text", or "Append Image", but these all implicitly start from the beginning of the Report, thereby over-writing what may already be present. In addition, when opening an HTML report, the Template input is ignored (adding Insult to Injury) ...
Bob Schor
‎06-05-2018 11:26 AM
Hi Bob,
I understand that it can not append text or table to the end of standrad report html,right?
‎06-05-2018 11:59 AM
You can set up tags in your HTML that you can search for so you know where to replace something. This would allow for you to search for that tag and then just replace that tag.
‎06-05-2018 03:45 PM
That is correct. New Report does just that -- opens a "new" Report (meaning it starts "from the beginning").
However, you can, with a little "extra work", have your Cake and Eat It, too. Here's the idea:
Try it. Let me know if this works for you.
Bob Schor