Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Select in field Action

Hi,

I have a Select in field action on a button:

Field: Month

Search string: =vMonth

In script: LET vMonth = Month(Today());

What am I missing? Think I have tried everything but at present the selected month still is June... (Starting from no choices made...)

Best regards

Torbjörn Ungvall (@Ungvall)

Senior Business Discovery Manager

Advectas AB

3 Replies
Miguel_Angel_Baeyens

Hi,

Use this code in the search string instead:

=$(vMonth)

Make sure the formats of the field corresponds to the variable.

Hope that helps.

Miguel

Not applicable
Author

Hi,

I tried that too, but without result. If I'm checking Settings/Variable Overview

vYear = 2012

vMonth = sep

So far , so good. But no Month is selected...

/Toby

Miguel_Angel_Baeyens

Hi Toby,

Check the attached QVW file with an example. Note that the Month field has been created in the script using the Month function as well.

Hope that helps.

Miguel