Skip to main content
Announcements
NEW: Seamless Public Data Sharing with Qlik's New Anonymous Access Capability: TELL ME MORE!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Calendar object variable initial display

Hi,

I am trying to use Calendar object with Variable: vDate

My Min Value is set to =Date('2013-01-01')

the Max Value is set to =Date(Today())

When the user chooses the date from the object all works fine.

The problem I am facing is the initial displayed value in the calendar.

I have added in Triggers -> OnOpen -> Set Variable

Variable: vDate

Value: = Date('2013-01-01')

The variable is being set up correctly On Opening of the file (I can see that in a text box),

but the value is not displayed in the Calendar object itself. For users is looks like the date is not selected.

Could I please get some advise on that?

Thanks,

1 Solution

Accepted Solutions
Oleg_Troyansky
Partner Ambassador/MVP
Partner Ambassador/MVP

I'm trying recreating the problem, but I see my date in the Calendar object... Maybe the problem is that it's being assigned in the "On Open" event...

Would it work equally well if you assigned the variable in the load script? That's how my variable is being assigned, and I see the value in the Calendar object...

View solution in original post

2 Replies
Oleg_Troyansky
Partner Ambassador/MVP
Partner Ambassador/MVP

I'm trying recreating the problem, but I see my date in the Calendar object... Maybe the problem is that it's being assigned in the "On Open" event...

Would it work equally well if you assigned the variable in the load script? That's how my variable is being assigned, and I see the value in the Calendar object...

Not applicable
Author

Hi Oleg,

Thanks for your answer. It works in the load script.

Izabela