title: How do I access the selected rows in Access?
body: <p>I have a form which includes a data sheet. I would like to make it possible for a user to select multiple rows, click on a button and have some sql query run and perform some work on those rows.</p>
  
  <p>Looking through my VBA code, I see how I can access the last selected record using the CurrentRecord property. Yet I don't see how I can know which rows were selected in a multiple selection. (I hope I'm clear...)</p>
  
  <p>What's the standard way of doing this? Access VBA documentation is somewhat obscure on the net...</p>
  
  <p>Thanks!</p>