Subscript out of range

Hi,

I am inserting some data into an non-notes database it worked just fine but sudenly it gives me the error message:

Subscript out of range!

Why?

Thanks

Subject: Subscript out of range

Try this:

Dim arrayTest(1) As String

arrayTest(0) = “this element is ok”

arrayTest(1) = “this element is also ok”

arrayTest(2) = “this will result in a subscript out of range”

Subject: RE: Subscript out of range

Yeah thank you i got it!

i was spliting a field which returned 1 word but i tryed to use the other one that doesnt exists!

Thanks Again