12-13-2012, 09:15 AM
I have an array of fields, like Field1_bananas, Field2_bananas, etc...
I find that I am often doing something like:
......
Is there a faster way to do this? Like a way to insert the "Number" on the fly? Like "m_ID + Number" or something that I don't know?
I find that I am often doing something like:
Code:
If (Number = 1)
Define this, this and this1;
So that we're r/w to the correct field1;
ElseIf (Number = 2)
Define this, this and this2;
So that we're r/w to the correct field2;
Is there a faster way to do this? Like a way to insert the "Number" on the fly? Like "m_ID + Number" or something that I don't know?