I'm doing this to get data from one of my queries that has at least 300 records in it. I only come up with one record each time. Why is it? I can't see the problem. Can somebody tell me?
thanks.
thanks.
Code:
Dim db As Database
Dim rs3 As Recordset
Dim varconcat As Variant
Dim gradArray As Variant
Dim strcriteria As String
Dim strsql2 As String
Set db = CurrentDb
Dim NumRecords As Integer
strsql2 = "select * from qryTrgrds "
Set rs3 = db.OpenRecordset(strsql2, dbOpenSnapshot)
gradArray = rs3.GetRows
NumRecords = UBound(gradArray, 2) + 1
