Welcome to SPN

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

Sign Up Now!
  1.   Become a Supporter    ::   Make a Contribution   
    Target (Recurring Monthly): $200 :: Achieved: $98

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
    Difficulty Finding Raag Gurmat Sangeet Tanti Saaj Nitnem Audio And Video Gurmat Sangeet Jan 13, 2017
    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

  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.
     
Since you're here... we have a small favor to ask...

More people are visiting & reading SPN than ever but far fewer are paying to sustain it. Advertising revenues across the online media have fallen fast. So you can see why we need to ask for your help. Donating to SPN's is vote for free speech, for diversity of opinions, for the right of the people to stand up to religious bigotry. Without any affiliation to any organization, this constant struggle takes a lot of hard work to sustain as we entirely depend on the contributions of our esteemed writers/readers. We do it because we believe our perspective matters – because it might well be your perspective, too... Fund our efforts and together we can keep the world informed about the real Sikh Sikhi Sikhism. If everyone who writes or reads our content, who likes it, helps us to pay for it, our future would be much more secure. Every Contribution Matters, Contribute Generously!

    Become a Supporter      ::     Make a Contribution     



Share This Page