getrows problem with a dao recordset

  • Thread starter Thread starter Douglas J. Steele
  • Start date Start date
sometimes when I call getrows from a dao recordset, I get only one row of
data, instead of all rows. This happens even though I haven't called
movefirst or movelast. how do I prevent this from happening and ensure I
get all records?
 
'get multilevel map
qMultiLevelMap = "SELECT * FROM qry_Multi_Level_Map"
Set rsMultilevelMap = db.OpenRecordset(qMultiLevelMap, dbOpenSnapshot)
If Not rsMultilevelMap.BOF Then arsMultilevelMap =
rsMultilevelMap.GetRows
rsMultilevelMap.Close
 
Back
Top