Dumb Question on arrays with lotus script

result = Arraygetindex ( array_notesID, sql_ID )If ( Isnull(result) ) Then

Call sqlConnection.Remove ( sqlFieldList )

End If

how can I get the values in the array at that index point?

I can’t find anything in the help, though I vaguely remember it can be done…

Thanks!

Subject: Simple answer

value = array_notesID(result)

Phil

Subject: two dim’d array - not working

I thought i had it with a two dimmed array…

value1 = array_sqlID( 0, result ) 'emp id

value2 = array_sqlID( 1, result ) 'emp email

but now, again… subscript out of rang…

Subject: RE: two dim’d array - not working

So you’re trying to ArrayGetIndex() on a two-dimensional array? I don’t think you can do that.