Setup find in subform with fast search

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have been searching through the posts here to find a way to use find with a
subform to located parts ordered either by name or part # with either whole
field or any part of field but I am only finding was to filter by form
examples. Would it be better to just have a cmdButton on the current form to
open up a different form so the user could locate these items this way and
have a cmdButton to take it the user back to the main form to that particular
record? Or is there a way to use find on a main form to search all records
in the the subform table to move between the records on the main form table?

Hope that isn't too confusing, thanks in advance.
 
If you just want to show records on the subform that match the search, then
you can set the Recordsource of the subform to include the criteria from the
main form. Then when the search term is entered on the subform, you just
have to Requery the subform.

Alternatively, you can use VBA code to query the Recordsetclone of the
subform and position at the matching record when the search term is entered
on the main form.

Enjoy, j.
 

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

Similar Threads

Requery subform 2
Subform problem 1
Subform Data Entry Setting 0
Problem with form--subform 5
Can't tab through datasheet subform 2
Refreshing a subform 3
Access Main form/Subform Navigation 0
Access Daily Entry with multiple entries per field 0

Back
Top