Skip to main content

SQL Report - Report Update

Comments

2 comments

  • Nick Jones

    Hi Carlos,

    You could have separate SQL reports, one that shows all the data,one that shows registered batch data, and one that shows the unregistered batch data.

    Then, put a validation configuration on the multi button selection so that once you have made your selection it closes the existing SQL report and shows the report based on the drop-down selection.

    Alternatively, an this is just an untested theory, you could have the multibutton selection be stored into a @STORE variable, then have the SQL for the report be dynamic so that the code changes depending on which value is stored.

    Dropdown selected > Store value > Refresh SQL report (i presume by activating a click command on the refresh button).

    Hope this helps or at least leads you down a path which works for you.

    Nick

  • Carlos Schonenberg

    Hello Nick,

    I appreciate your kind explanation.
    I was able to show the reports in different screens based on what you said.
    I opted for the @STORE variable using macros and inside the macro code called the SQL reports with an UF command, for batched and non batched respectively.

    Thank you.

    Carlos

Please sign in to leave a comment.