Hi Victor,
Maybe it has nothing to do with the length of the variable but with the size of the array? Are you sure lnCampos has the correct value and that there are all the values in the array strings?
[Update]
Disregard my stupid comment, you would not get a String too long in my scenario. Sorry about that
[/Update]
"The five senses obstruct or deform the apprehension of reality."
Jorge L. Borges?
"Premature optimization is the root of all evil in programming."
Donald Knuth, repeating C. A. R. Hoare
"To die for a religion is easier than to live it absolutely"
Jorge L. Borges