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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
amars
Specialist
Specialist

Limit for GetPossibleValues

Hi all,

I am writing a macro in which I make use of GetPossibleValues , like this

set SupervisorNames = ActiveDocument.fields("Supervisor Name").GetPossibleValues

For i = 0 to SupervisorNames.Count -1

but now when I see the debug this macro to see the value of SupervisorNames.Count it is coming as 100 but my actual count of Supervisor names is aroud 400. Is there some limit for the GetPossibleValues or what?
Please help it is urgent.
Regards
Amar


1 Solution

Accepted Solutions
Not applicable

hi

try this one

set SupervisorNames = ActiveDocument.fields("Supervisor Name").GetPossibleValues ("500")

this will get upto 500 values

regards

Peter

View solution in original post

3 Replies
Not applicable

hi

try this one

set SupervisorNames = ActiveDocument.fields("Supervisor Name").GetPossibleValues ("500")

this will get upto 500 values

regards

Peter

amars
Specialist
Specialist
Author

Thanks a lot Peter, that solved my problem.

thierrytt1102
Partner - Creator II
Partner - Creator II

you saved me life!