How can I get the value in the second column?

How can I get the value in the second column?

borja_lorenzo
Advocate Advocate
519 Views
2 Replies
Message 1 of 3

How can I get the value in the second column?

borja_lorenzo
Advocate
Advocate

[ FlexSim 24.1.0 ]

Hello

I'm unsure how to retrieve the value in the second column of a combobox. I need to use this value to compose a variable called 'Linea'. However, when I obtain it, I receive an index rather than a value (such as 1, 2, 8, or 4) when the LR was selected during depainting.

Thank you for your assistance.


1717580443496.png

0 Likes
Accepted solutions (1)
520 Views
2 Replies
Replies (2)
Message 2 of 3

Jeanette_Fullmer
Community Manager
Community Manager

Hi @borlor,

It's hard to know how to help without looking at your model. To receive a more accurate solution, please post your model or a sample model that demonstrates your question.

If your model contains sensitive information, you could first toggle your post as private using the "make private" option under your question's "gear" menu. Private questions are visible only to site moderators. You can also contact your local FlexSim distributor for phone or email help.

0 Likes
Message 3 of 3

Jeanette_Fullmer
Community Manager
Community Manager
Accepted solution

Hello @Borlor, Your combo box needs a link to save the value that is set. Then you can reference that location to get the value.

ComboBoxValue.fsm