I've got a program that I'm working on that I need to create a list of information. Based on the various searches I've done, I'm probably now more confused than ever before. I'm not sure what the best way to do this is (scripting dictionary, array, collection, etc...) but I'd like to learn how to do it using an arrray.
So here's the scoop...
The program I'm working on will create a series of drawings and add various layout tabs to them. And so for starters, I need to gather the drawing information based on file names and what layout tabs are associated with them.
For example: Drawing 'A' could have layout tabs 'A', 'B', 'C'. Drawing 'B' could have layout tabs 'A1', 'A2', 'A3', 'A4', 'A5' and so on and so forth.
I'm currently gathering the information from the listview box of my program (see attached DVB). When you click the "CREATE PROJECT FILES" button, it loops through the entries in the listview. But what I need to do is gather the information as follows:
Drawing 'A'
Layout tab 'A'
Layout tab 'B'
Layout tab 'C'
Drawing 'B'
Layout tab 'A1'
Layout tab 'A2'
Layout tab 'A3'
Layout tab 'A4'
Layout tab 'A5'
And so on....
So do I need to do an array of arrays (as if a simple array isn't giving me enough grief)?? I hope this makes sense.