How to enumerate selected form records in Access 2002 (294202)
The information in this article applies to:
This article was previously published under Q294202 Moderate: Requires basic macro, coding, and interoperability skills.
This article applies to a Microsoft Access database (.mdb) and to a Microsoft Access project (.adp).
For a Microsoft Access 97 version of this article, see 148393.
For a Microsoft Access 2000 version of this article, see 208502.
SUMMARY
You can select multiple records in a form by using the record selector at the left side of the form. You can also use the SelTop and SelHeight form properties to specify or determine the number of selected records in a continuous or Datasheet view form.
This article shows you how to use the SelTop and SelHeight form properties to enumerate through the list of selected records in a form.
NOTE: SelLeft and SelWidth are form properties that you can use to determine the current columns selected in Datasheet view; however, this article does not discuss these form properties.
REFERENCESFor more information about selected records in forms, click Microsoft Access Help on the Help menu, type select fields and records in the Office Assistant or the Answer Wizard, and then click Search to view the topic.
Modification Type: | Major | Last Reviewed: | 8/12/2004 |
---|
Keywords: | kbhowto KB294202 |
---|
|