grazie per il suggerimento, in effetti nn posso trattarlo come un array.
ho risolto ora

grazie ancora
ciaoo