Problem updating sublist

Hi
I'm having trouble updating the qty sold index in global data(list) I can get the information from calling a procedure but when I want to update it I get the following error. Please help if you can. I've tried everything.


Your list data appears to be in a bit of a mess:

image

The first two items are inside another list, then you have another item which is a string from the listviewer display, then you have another two items inside another list.

Your list structure should be like this:

[[1,2,3],[1,2,3],[1,2,3],[1,2,3],[1,2,3]]

but currently, or as displayed in the error message, it is like this:

[[[1,2,3],[1,2,3]]],[(1,2,3)],[[1,2,3],[1,2,3]]

The index in your replace block has to be a number.

Maybe you meant SelectionIndex instead of Selection?

2 Likes

Thank you guys for your help, I can see now what I've done wrong. Thanks again

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.