Multi-select rows in form recordset

tiger

New member
Local time
Tomorrow, 06:11
Joined
Feb 1, 2013
Messages
5
On a form several rows of data are displayed in the detail section.
The user can multi-select rows just like a list box by SHIFT/CTRL clicking the record selectors.
I want to scan the selected rows and extract data from them.

Using the Forms recordset or Recordsetclone (or any other) is the any way of identifying the selected rows please? eg Me.Recordset.Selected (this property does not appear to exist)
Getting the selected rows from a listbox is ok but is there a similar option for the form's recordset?
Thx
 
I suspect that you are going to need someway to flag which of the records has been selected. A check box for example would do the trick.
 
.SelHeight and selStart

But this stuff is tricky, because the moment you press a button the focus goes away to the button and selHeight is 0...so play with it. And btw: selHeight only applies to a contiguous list of records.
 

Users who are viewing this thread

Back
Top Bottom