Iterating the entries of a sub-form

H

Helmut Holzer

How can I check with VBA-code, which entry of an Access
sub-form is currently selected

How can I iterate the entries of an Access sub-form with
VBA-code. thanks
 
G

Gary Miller

Helmut,

This is commonly done by referring to the 'RecordsetClone'
of the form. How you do it depends on what you are doing and
from where.

Me!YourSubFormControlName.Form.RecordsetClone.Bookmark
should give you access to the record that the subform is on
from the main form.

--

Gary Miller
Gary Miller Computer Services
Sisters, OR
________________________
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top