The only place where global arrays aren't allowed is inside class modules (which is a major inconvenience for C++ programmers). If you aren't trying to put them in a class, you may need to tell VB how big the arrays are going to be:
Public MyArray(0 to 100) as String
However, this requires you to know ahead of time how big the array is going to be. Since you don't know this, use this syntax:
Public MyArray() as String
Now you can change the array's size at run-time just before that loop I showed you earlier:
ReDim MyArray(0 to Adodc1.Recordset.RecordCount -1) as String
Try that, and let me know if it doesn't work. I've ticked the E-Mail me notification, so just respond to this post.
-Mike