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

Announcements
Join us in Bucharest on Sept 18th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

variable store limit in a macro

Hi,

I have the following in a macro:

set

myfield = ActiveDocument.Fields("ACCTNUM").GetPossibleValues()

the field ACCTNUM has more than 300 values, but myfield only have 100, I think there is a limit of values a variable can store.

Does enyone knows a workaround for this problem?

Thank you

1 Solution

Accepted Solutions
Oleg_Troyansky
Partner Ambassador/MVP
Partner Ambassador/MVP

GetPossibleValues returns up to 100 values by default. You can change the default by adding another parameter:

...GetPossibleValues 10000

View solution in original post

1 Reply
Oleg_Troyansky
Partner Ambassador/MVP
Partner Ambassador/MVP

GetPossibleValues returns up to 100 values by default. You can change the default by adding another parameter:

...GetPossibleValues 10000