A
Al
This statement returns a -1, indicating "not found":
Find1 = Array.IndexOf(FilesArray, "sa001")
But IndexOf on a specific item in that array returns a value of 26:
Find1 = FilesArray(2).IndexOf("sa001")
This shows the value "sa001" is found in FilesArray.
Any suggestions why Array.IndexOf does not return a number (index of
item that has the value)?
Thanks,
Al
Find1 = Array.IndexOf(FilesArray, "sa001")
But IndexOf on a specific item in that array returns a value of 26:
Find1 = FilesArray(2).IndexOf("sa001")
This shows the value "sa001" is found in FilesArray.
Any suggestions why Array.IndexOf does not return a number (index of
item that has the value)?
Thanks,
Al