> Ronald
>
> You are asking a "how" question ...
>
> Both of the approaches you offer mention looping through a recordset.
>
> If you'll describe a bit more about what having the "looped-through
> recordset" will allow you to do, folks here may be able to offer even more
> efficient approaches. For example, Access queries (set-oriented) can
> provide a much more efficient way to process records from a larger recordset
> than using code to step through (loop) the set.
>
> Good luck!
>
> --
> Regards
>
> Jeff Boyce
> www.InformationFutures.net
>
> Microsoft Office/Access MVP
>
http://mvp.support.microsoft.com/>
> Microsoft IT Academy Program Mentor
>
http://microsoftitacademy.com/>
> "Ronald" <wit[ at ]yahoo> wrote in message
> news:686056D9-A9CB-4F4F-9880-EA3F57438155[ at ]microsoft.com...
> > Hi.
> >
> > To select/find data in a table, what will be the fastest method:
> > 1. By query: "SELECT * FROM Table WHERE Field1=""" & Me!txtField1 & """
> AND
> > """ Field2=""" & Me!txtField2 & """;"
> > And loop through the records found (if any).
> >
> > Or
> > 2. Select the table in whole.
> > And .FindFirst "Field1=""" & Me!txtField1 & """ AND """ Field2=""" &
> > Me!txtField2 & """" and loop using .FindNext
> >
> > I guess method 2 is the fastest. Is that correct?
> >
> > Thanks,
> >
> > Ronald.
>
>