Hi,
I have the following array :
anArray = Array("hi1", "hi2", "hi3",...)
and I would like to use it like this:
while(aResultSet.next())
{
while(i<choosedFieldSize)
{
hi1.add(aResultSet.getString(anArray.at(i))
}
hi1 is an array "self created". I mean, that I don't know what's the size of anArray. But hi1, hi2, hi3,... must be Array's that I won't instanciate staticaly...
Is it possible and how can I do it?
Thank you very much
H.
I have the following array :
anArray = Array("hi1", "hi2", "hi3",...)
and I would like to use it like this:
while(aResultSet.next())
{
while(i<choosedFieldSize)
{
hi1.add(aResultSet.getString(anArray.at(i))
}
hi1 is an array "self created". I mean, that I don't know what's the size of anArray. But hi1, hi2, hi3,... must be Array's that I won't instanciate staticaly...
Is it possible and how can I do it?
Thank you very much
H.