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

Announcements
FLASH SALE: Save $500! Use code FLASH2026 at checkout until Feb 14th at 11:59PM ET. Register Now!
cancel
Showing results for 
Search instead for 
Did you mean: 
justinasp
Creator
Creator

How to capture MultiBox calculated Field (Expression) in macros?

Hey all,

Let's say, I have two entries in my Multi Box:

  • field_code
  • =field_name_$(language_id)

What I need, is to display these fields as text and their labels.

That would look like:

FieldLabel
field_codeCode
=field_name_$(language_id)Name

I've tried this:

<...>

For i = 0 to multi_box_properties.MemberAttributes.Count - 1

     msgbox multi_box.GetField(i).GetProperties.Name

     msgbox multi_box_properties.MemberAttributes.Item(i).Label.v

Next

However when the loop reaches the second field (expression), I receive an error: "Object required: 'multi_box.GetField(...)' "

Any ideas?

Labels (1)
0 Replies