Results 1 to 5 of 5
  1. #1
    techtony is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Jul 2014
    Posts
    18

    Question Search Form Basic Problem

    You would think every person making an access database would want or does use this at some point, but after hours of searching, I am at a loss.



    I have a service ticket system with several tables, one being the customer table.

    I know how to create a search form and how to get the results to a report.

    Problem is I need the search form to list customers matching the search criteria in a list below the form, then the user should be able to select the record from the list to open that customer's record in the customer entry form. Simple right?

    Well I am stumped on how to create a continuous form that would do this.

    You don't have to give a complete solution, I am ok with what I should be searching for - trust me - continuous form search in google yields little on how to do this common task (I would think it would be common enough, but apparently not).

    Thanks in advance.

  2. #2
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,642
    Is this what you're after? The search form in the sample db here:

    http://www.baldyweb.com/BuildSQL.htm

    and perhaps:

    http://www.baldyweb.com/wherecondition.htm
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  3. #3
    techtony is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Jul 2014
    Posts
    18
    um, no. This can be done without extensive VBA coding. I have watched a poorly edited you tube video on this type of form, but now I can no longer find it. This is something that is inherent to MS Access, I just don't know how to do it properly.

  4. #4
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,632
    What do you mean by 'inherent'? Unless you use the intrinsic search/filter methods from ribbon or right click shortcut, likely will need code. Some methods to filter a form or report:

    1. dynamic parameterized query http://www.datapigtechnologies.com/f...tomfilter.html

    2. code constructs criteria and applies to form Filter property http://allenbrowne.com/ser-62.html

    3. code constructs criteria and applies to WHERE CONDITION argument of OpenForm (or OpenReport) method - Paul's second link
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  5. #5
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,642
    Quote Originally Posted by techtony View Post

    Problem is I need the search form to list customers matching the search criteria in a list below the form, then the user should be able to select the record from the list to open that customer's record in the customer entry form. Simple right?
    Funny because the sample db in the first link does the first part and the second link does the second.
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 2
    Last Post: 03-17-2014, 12:51 PM
  2. Replies: 7
    Last Post: 08-08-2012, 03:28 PM
  3. Problem With a Search Form
    By harris90 in forum Forms
    Replies: 5
    Last Post: 01-20-2012, 03:36 PM
  4. Problem in Search Form
    By siddel77 in forum Forms
    Replies: 1
    Last Post: 09-05-2011, 06:29 PM
  5. Search problem with form
    By JackT in forum Forms
    Replies: 2
    Last Post: 09-01-2010, 12:03 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums