Hi All,
unfortunately an Office 365 update no longer allows me to export Reports to Excel from the Ribbon.
Waiting for a next update that fixes the problem (I work for a large Company and I have to wait quite a while before the update will be installed in our workstations) I'm trying to solve this issue writing some code that export the reports to Excel directly inside my App.
Do.cmd Output to does not work.
However I already have an idea on how to fix it. The only problem is that I need the SQL that builds the Reports, once I have that I can store the query in a string sqlStr and the rest of the code I have already prepared should do it all.
The queries that build the reports have dynamic filters that users can choose from a Form. How do i know what users will choose? What I need is to have the SQL code of the query after the report is run. Is there a way to do this?
Thanks for your help.
unfortunately an Office 365 update no longer allows me to export Reports to Excel from the Ribbon.
Waiting for a next update that fixes the problem (I work for a large Company and I have to wait quite a while before the update will be installed in our workstations) I'm trying to solve this issue writing some code that export the reports to Excel directly inside my App.
Do.cmd Output to does not work.
However I already have an idea on how to fix it. The only problem is that I need the SQL that builds the Reports, once I have that I can store the query in a string sqlStr and the rest of the code I have already prepared should do it all.
The queries that build the reports have dynamic filters that users can choose from a Form. How do i know what users will choose? What I need is to have the SQL code of the query after the report is run. Is there a way to do this?
Thanks for your help.