Multiple selections on forms in Access 2002

P

Paul

When a form (continuous mode) displays many records I need to be able to read
from VBA code which records are currently selected when a user selects more
than one record via the record selectors. Any ideas would be appreciated.
Many Thanks!
Paul
 
A

Allen Browne

SelTop and SelHeight should give you this info.

You can't do that with a command button though: by the time the button's
Click event fires, *it* has the focus, so the selection is lost.
 
Top