Hi,
I am trying to export to a txt file. First fill a recordSet with required data - stick it in an array and print array to txt file.
But when I try to ReDim my array
ReDim array(7, strRecordSet.RecordCount)
RecordCount always = -1
Am I using this in the wrong way? Do I just need to do a COUNT statement and find length that way?
I know for sure there are records returned into this recordset.
I am trying to export to a txt file. First fill a recordSet with required data - stick it in an array and print array to txt file.
But when I try to ReDim my array
ReDim array(7, strRecordSet.RecordCount)
RecordCount always = -1
Am I using this in the wrong way? Do I just need to do a COUNT statement and find length that way?
I know for sure there are records returned into this recordset.