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

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
venkatasubramanian
Contributor II
Contributor II

Mutiple selection in Getfield funtion

Hi There

I need to select multiple days in the object, so i tired using the below syntax, but its not working. this code selects only the first value.

ActiveDocument.GetField("My field name").Select (6, 7,8)

Please advise.

Labels (1)
1 Solution

Accepted Solutions
m_woolf
Master II
Master II

Try:

ActiveDocument.Fields("Your Field name").Select "(6|7|8)"

Why do this with a macro? You can use an action instead.

View solution in original post

2 Replies
m_woolf
Master II
Master II

Try:

ActiveDocument.Fields("Your Field name").Select "(6|7|8)"

Why do this with a macro? You can use an action instead.

venkatasubramanian
Contributor II
Contributor II
Author

Thank you for your quick response.

I am trying to automate my entire process with the macro so i need this. Thank you