Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
April 13–15 - Dare to Unleash a New Professional You at Qlik Connect 2026: Register Now!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Automatic pre-selection

Hi,

I'm looking for a way to do automatic preselection.
When a user open the document I want that the date field is selected for only the current month.

How can I obtain this ?

Thanks a lot.

3 Replies
Not applicable
Author

Hi,

you can write a macro statement in "Edit module":

Sub OnOpenDocument

ActiveDocument.Fields("dates.Month").Select Month(Now())

End Sub

Milda

Not applicable
Author

Hello,

In QlikView 9.0 go to Settings -> Document Properties. Go to Triggers tab and there you'll find the Event "OnAnySelect" and add the action Select in Field you need.

Steve