10-04-2019 03:57 PM
Hey guys,
I've been racking my brain for a few hours, I'm burnt out, and it's Friday.
I have a combo box that I am trying to get to populate a code and it's unique id so that, when I select a item within the combo box, it will feed other things in my application (the unique id). When I try to run the code and send the cluster of two elements to the StringsandValues property node (which it wants), I get this:
Error 1129 - LabVIEW: (Hex 0x469) You cannot assign the same numeric value to two or more strings in a ring control. You also cannot assign the same string value to two or more strings in a combo box control.
Property Name: Strings And Values []
What am I missing?
Solved! Go to Solution.
10-04-2019 04:26 PM
Look through the values of the cluster array that you're passing to the Stings and Values[] property and see if there are any duplicates. Remember that an empty string counts as a value, so if 2 or more of the values are empty string, that will generate this error.
10-07-2019 08:53 AM
Darren - Thank you for that little hint. I took the duplicates out in the query with a DISTINCT clause to remove the duplicates. Once I did that, the error disappeared.