Positioning in a recordset via clone

G

Guest

Examples of how to display a particular record in a form always use a cloned
recordset. The desired record is found in the clone, then the form's bookmark
is set equal to the clone's bookmark. Why this indirection? Finding the
desired record directly in Me.Recordset seems to work just fine, and is
surely more efficient. Is this undesirable for any reason?
Thanks
 
R

Rick Brandt

TedMi said:
Examples of how to display a particular record in a form always use a
cloned recordset. The desired record is found in the clone, then the
form's bookmark is set equal to the clone's bookmark. Why this
indirection? Finding the desired record directly in Me.Recordset
seems to work just fine, and is surely more efficient. Is this
undesirable for any reason?
Thanks

Older versions of Access didn't have a Recordset object available in forms and
reports. Code that uses Recordset clone works in all versions. Also in some
cases you actually do want to avoid using the Recordset directly.
 

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