Hi,
I have a one-dimensional array, strInterventionFields(6) filled with 7 field items (option base 0) of one intervention
I now want to transfer this array for each intervention in a second two-dimensional array strInterventions() which should eventually look like strInterventions (52,6) (in case there are 52 interventions).
Thus the code looks as follows:
(option base 0)
x = 0
While ..... (something search for the next intervention)
Dim i as integer
For i = 0 to 6
strInterventions(x,6) = strInterventionFields(i)
Next
x = x+1
Wend
The problem is however that I do not know beforehand how many interventions there will be.
Moreover, to create a dynamic array, only the second dimension can change with Redim Preserve, and the indices cannot be variables but must be constants.
I would greatly appreciate some help in this issue
Thanks,
I have a one-dimensional array, strInterventionFields(6) filled with 7 field items (option base 0) of one intervention
I now want to transfer this array for each intervention in a second two-dimensional array strInterventions() which should eventually look like strInterventions (52,6) (in case there are 52 interventions).
Thus the code looks as follows:
(option base 0)
x = 0
While ..... (something search for the next intervention)
Dim i as integer
For i = 0 to 6
strInterventions(x,6) = strInterventionFields(i)
Next
x = x+1
Wend
The problem is however that I do not know beforehand how many interventions there will be.
Moreover, to create a dynamic array, only the second dimension can change with Redim Preserve, and the indices cannot be variables but must be constants.
I would greatly appreciate some help in this issue
Thanks,