Yes, as long as both recordsets are open at the same time.
rst.Fields("SubAccount") will have a particular value, depending on which record you are at in the recordset. Use the typical Find or Seek commands for whichever field in rst2 you are searching.