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 = CurrentProject.Connection
rsSql.Open "SELECT prv.prv_code FROM prv", adoConn
arrAttc = rsSql.GetRows()
It's got to be something simple I'm missing here.
Dim arrAttc As Variant
Dim adoConn As ADODB.Connection
Dim rsSql As New ADODB.Recordset
Set adoConn = CurrentProject.Connection
rsSql.Open "SELECT prv.prv_code FROM prv", adoConn
arrAttc = rsSql.GetRows()
It's got to be something simple I'm missing here.