Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi
I have a report which creates new weekly data every week (sales for week 1, week2, week3 etc.).
Now when the user clicks "initial state" in the top menu bar, always the latest week should be selected.
As we are using Ajax Client, it is not possible to use OnOpen event when the report is being opened.
Any idea how to create a dynamic inital state?
thx - Marcel
Hi
I don't know of any way to make an initial state dynamic, but you could use a Select in Field action on the button or text box that the user clicks. Set the field Weeks to =Max(Weeks) (adjust as required).
Regards
Jonathan
Hi
thank you for this proposal. The problem is that the amount of data is massive in the report and an initial selection of the latest week is really needed and must therefore be forced. It should never happen that no week has been selected (but this happens when the user clicks the initial state button but not the user-button).
Hi
I assume that your concern is that some of the objects render slowly or fail i not week is selected?
If that is the case, you have a couple of approaches that you can try.
Hope those help
Jonathan