Thanks, but irregardless of cursor type, I'm still getting a record count of 0. The next few steps in the sub will be calling a loop of records from the array.
str1 = arrAttc(1)
str2 = arrAttc(2)
etc.
With no records being returned, I'm getting a "subscript out of range" error when...
I'm attemting to run a simple select statement and populate a named array. This is the code I am using. However, no records are returned (.RecordCount = 0)
Dim arrAttc As Variant
Dim adoConn As ADODB.Connection
Dim rsSql As New ADODB.Recordset
Set adoConn =...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.