Qlik Community

QlikView Scripting

Discussion Board for collaboration on QlikView Scripting.

Announcements
Qlik Analytics Tour 2020 Online. Begins August 10th. Register Today
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Creator III
Creator III

MSGBOX (XXXX.GetContent.STRING)

Hi,

is there a reason why this wouldn't work?

SUB maxyear

  set bloc_user = ActiveDocument.Fields("BlocSecteurSponsorProjetPermis").GetPossibleValues

  msgbox (bloc_user.GetContent.string)

    

  End sub

I know the result. It's a single value actually. I just want to confirm this value but my macro is bugging.

1 Reply
Highlighted
MVP
MVP

Re: MSGBOX (XXXX.GetContent.STRING)

Try

SUB maxyear

  set bloc_user = ActiveDocument.Fields("BlocSecteurSponsorProjetPermis").GetPossibleValues

  msgbox (bloc_user.Item(0).Text)

   

End sub