Our online shopping is experiencing intermittent service disruptions.
Support teams are actively working on the resolution.
Our online shopping is experiencing intermittent service disruptions.
Support teams are actively working on the resolution.
12-15-2023 09:11 AM
Hi, I'm trying to populate string and value of a combo box from a txt file (Lista motori) but i don't get any result. Someone can help me please? Where do i make mistakes?
Solved! Go to Solution.
12-15-2023 10:00 AM - edited 12-15-2023 10:01 AM
You cannot have duplicate values, so once you fix your datafile, here's all you need:
12-15-2023 10:10 AM - edited 12-15-2023 10:12 AM
@altenbach wrote:
You cannot have duplicate values, so once you fix your datafile...
I think the second column is not a unique id, but rather a property "Limite" associated to the motor.
So he may want to use a ring instead, and create a cluster array from the file, which he can index later to select the motor configuration:
Regards,
Raphaël.
12-15-2023 10:19 AM
Thank you guys!
12-15-2023 11:05 AM - edited 12-15-2023 11:08 AM
@raphschru wrote:
@altenbach wrote:
You cannot have duplicate values, so once you fix your datafile...
I think the second column is not a unique id, but rather a property "Limite" associated to the motor.
I never (ever!) use comboboxes in my code, so my first idea was to switch to a ring, then I noticed that one of the "values" is not numeric. It is not clear if that was just a column header (language!) and that we can assume that all other values are numeric.
If we want the column headers as captions for the elements, here's what I would do. No FOR loop needed!