Welcome to SPN

Register and Join the most happening forum of Sikh community & intellectuals from around the world.

Sign Up Now!

Setup find in subform with fast search

Discussion in 'Information Technology' started by default105, Jul 28, 2006.

  1. default105

    default105
    Expand Collapse
    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.
     
  2. Loading...

    Similar Threads Forum Date
    Sikh News Employment generation board setup in Punjab (New Kerala) Breaking News Sep 17, 2007
    Pathfinder Joins Sikh Philosophy Network! New SPN'ers Sep 5, 2016
    The Salmon Story, Finding Home Sikh Sikhi Sikhism Jul 29, 2016
    Sikhi Guru Nanak's Methodology Of Finding Truth Sikh Sikhi Sikhism Jan 1, 2016
    Movies Ashdoc's movie review---Finding Fanny ( English version ) Theatre, Movies & Cinema Sep 15, 2014

  3. Jen

    Jen
    Expand Collapse
    Guest

    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.


    "default105" wrote:

    > 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.
     

Share This Page