First post so please bear with me 
My question is related to multi dimentional arrays.
I have a dataset which contains a number of projects. For each project I have a number of data including an account which the project belongs to.
I need to display a list of the projects grouped by account along the lines of:
Account 1
- Project 1 (with certain relevant project data, like starting/ending year, financing, ...)
- Project 5 (with certain relevant project data, like starting/ending year, financing, ...)
- Project 6 (with certain relevant project data, like starting/ending year, financing, ...)
Account 2
- Project 2 (with certain relevant project data, like starting/ending year, financing, ...)
- Project 7 (with certain relevant project data, like starting/ending year, financing, ...)
Account 3
- Project 3 (with certain relevant project data, like starting/ending year, financing, ...)
- Project 4 (with certain relevant project data, like starting/ending year, financing, ...)
I was thinking of loading it all into an array with account info in the first dimension, project number in the next, and other relevant data in the third).
My first question is: Is that the best way to go about it?
And my second question would then be: how could I handle varying number of records in dimension 2?
/Soren

My question is related to multi dimentional arrays.
I have a dataset which contains a number of projects. For each project I have a number of data including an account which the project belongs to.
I need to display a list of the projects grouped by account along the lines of:
Account 1
- Project 1 (with certain relevant project data, like starting/ending year, financing, ...)
- Project 5 (with certain relevant project data, like starting/ending year, financing, ...)
- Project 6 (with certain relevant project data, like starting/ending year, financing, ...)
Account 2
- Project 2 (with certain relevant project data, like starting/ending year, financing, ...)
- Project 7 (with certain relevant project data, like starting/ending year, financing, ...)
Account 3
- Project 3 (with certain relevant project data, like starting/ending year, financing, ...)
- Project 4 (with certain relevant project data, like starting/ending year, financing, ...)
I was thinking of loading it all into an array with account info in the first dimension, project number in the next, and other relevant data in the third).
My first question is: Is that the best way to go about it?
And my second question would then be: how could I handle varying number of records in dimension 2?
/Soren