NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: rupertvz on July 22, 2022, 03:54:25 AM

Title: JavaScript in Report
Post by: rupertvz on July 22, 2022, 03:54:25 AM
Hi Guys,

It is possible to bring JavaScript into a report?

This is to show a JavaScript graph.
Title: Re: JavaScript in Report
Post by: Jane on July 22, 2022, 09:31:18 AM
No personal experience.

It might be worth looking into the Stimulsoft report engine.
There have been some clarionlive webinars on it, including one showing a template and mentioning a NetTalk app: https://www.clarionlive.com/BrowseEpisodes/ww!551


Title: Re: JavaScript in Report
Post by: Bruce on July 24, 2022, 12:11:07 AM
No, you can't put JavaScript in a Clarion Report, because
a) the clarion report engine does not support it and
b) JavaScript is a language, not an output

what you meant to ask was - can you put a graph in a report? The answer to that is yes - construct the graph in JavaScript - perhaps in Chrome Explorer, or externally to your program, save that image as a PNG file, and then include the PNG on the report.

Cheers
Bruce
Title: Re: JavaScript in Report
Post by: rupertvz on July 26, 2022, 10:55:05 AM
Thank you Bruce ;-)