Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello,
I want to insert three buttons, "previous month", "current month" and "next month". For getting the actual month I got a "MonthCounter" integer variable. But when I set it in the buttons the change in this variable is not done right away (That means I have to click twice to get the chage working).
So I thought of changing it with a macro but don't get it working.
Anyone any Idea?
Thanks
Peter
I think you didn't need variables for this. You could use OnSelect-Actions within the buttons, try something like this:
Button for current month with search-string:
= only({<Month = {"$(=month(today()))"}>} MonthCounter) // and +- 1 for next/previous month
- Marcus