Scrolling subform

M

Max Moor

Hi All,
I have a need to jump a subform to a given record (uniquely
identifiable by an index number). The best I've been able to do is to
scroll it by checking each record and using MoveNext using language like:

Me!fsubMySubForm.Form.Recordset.MoveNext

Everything was fine until I got a pile of records in the subform.
Scrolling takes a long time. At least, a much longer time than I'd like.

Can anyone give me a faster technique for accomplishing this?

- Max
 
M

Max Moor

Me!fsubMySubForm.Form.Recordset.FindFirst "[FieldName]=Value"


Yes! I feel a little dumb, now that I see it. I use MoveFirst, MoveNext,
and MoveLast all over the place. I know I've seen the help for FindFirst.
Thanks, Wayne.

- Max
 

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