I have an array which is populated by Codes and I use in a various queries and functions.
How can I include a second entry in the array so that I can also include a name, i.e.
I currently have:
Array = (ACC01,
ACC02,
ADV02)
I now want
Array = (ACC01 Accord Inc,
ACC02 Acctune Inc,
ADV02 Advanced Inc)
But I need the code and name seperate as the code is submitted later on.
Is my only option to put in some character like 'ACC01|Accord Inc' and then script to remove the character to process? Or is there a better, simpler way?
How can I include a second entry in the array so that I can also include a name, i.e.
I currently have:
Array = (ACC01,
ACC02,
ADV02)
I now want
Array = (ACC01 Accord Inc,
ACC02 Acctune Inc,
ADV02 Advanced Inc)
But I need the code and name seperate as the code is submitted later on.
Is my only option to put in some character like 'ACC01|Accord Inc' and then script to remove the character to process? Or is there a better, simpler way?