[AccessD] Syntax: Iterate through selected rows in a datasheet?

Christopher Hawkins clh at christopherhawkins.com
Fri Sep 10 13:38:49 CDT 2004


Given the following:

1) Parent form named frmMain.
2) frmMain has a Subform control named sFrm.
3) sFrm.SourceObject = frmSub
4) frmSub is a datasheet.
5) frmMain has a button cmdClickMe.

Assume that frmSub presents 10 rows and the user has selected
(highlighted) 5 of them.

In the OnClick event of cmdClickMe, what would the syntax be to
iterate through only the selected rows on frmSub?

I've Googled, but nothing.

Respectfully,

Christopher Hawkins
Software Developer
(559) 687-7591
http://www.christopherhawkins.com





More information about the AccessD mailing list