I'm trying, months later to implement a basic report. The first issue that i see, when i transfer the output html to other users, they can't open the report since it require: <script type="application/javascript" src="file:///C:/Program%20Files%20(x86)/CSPro%207.2/Reports/mustache.min.js"></script>
I think that a solution to this would be to output, optionally, in pdf. There's a lot of open source javascript project
a) https://github.com/MrRio/jsPDF
b) https://github.com/eKoopmans/html2pdf
able to output pdf from html file. So, i hope this will not be so difficult and time consuming to you.
Another, why not in setreportdata, data_source do not include item?
The data_source must be one of the following:
data_source Description
value A string expression containing some text.
record_name The contents of a record, including multiply occurring records. In a data entry application, only information up to the number of entered occurrences will be stored.
list_name The contents of a list.
array_name The contents of a one- or multiple-dimensional array.
sqlquery The result set of a query executed by the sqlquery function. Do not specify that function's optional result_set argument, as the result set is stored in memory when called by setreportdata.
Best Regards,