Hi All
I have an Report that "puts" Objets in a Model, and after the reposrt executes, I would like to refresh the Opened Model
I've tyed to use
Context.addActionResult(Constants.ACTION_UPDATE, "", g_objSelected_ObjOcc[0].Model());
but is didn't work, can anyone help me?
Hi all
giving feedback on what I have done to resolve this problem.
with Martin feedback, I looked to my code had some ideia
1. "call an macro when my aris Report ended" this will allow to execute an model refresh
2. "convert" my code to be use in a user Macro
3. set my report as unavable for user and create a Macro that close the Opened Model, launch my Report and after Report execution open the model
Answer to idea 1 - I didn't finded a way to call an Macro form a Report, I realised that macros can "call" reports, but Reports cannot "call" Macros
Answer to 2 - I realised that the conversion form "Report Code" to "Macro Code" will take too long
So the easiest way to do this was using the idea 3 that is running "on Producion" form almost one Month with no problems.
Tanks a lot Martin for wou feedback :)