Results 1 to 5 of 5
  1. #1
    FFjwb is offline Novice
    Windows XP Access 2003
    Join Date
    Apr 2010
    Posts
    2

    Need Help in Access 2003

    I am designing a simple database at work to keep track of businesses in our Town. I need something that can be easily used by experienced and non-experienced users. My problem comes in with the switchboard and a search feature. What I would like to do is put a "Search" button on the Switchboard and then users can search one or all of three fields to obtain the information. I believe I need to create a search form and list parameters, which will be a "*" because I want it to find the specific information they input (i.e. address). So that is my first question because I know it is fairly simple and I can't figure that part out, secondly how to do I get that search form to be brought up when clicking on the button on the switchboard.



    I have the form for all the information built and working, I just need to get this search feature done to allow us to use the database.

    Thanks for all your help.

  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,521
    There is a sample db demonstrating one method of creating a search form here:

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

  3. #3
    FFjwb is offline Novice
    Windows XP Access 2003
    Join Date
    Apr 2010
    Posts
    2
    Thanks for the link, but for someone that doesn't have a background in Access, I have no idea what that page is saying.

  4. #4
    TheShabz is offline Court Jester
    Windows XP Access 2003
    Join Date
    Feb 2010
    Posts
    1,368
    Try using, in your query criteria
    Like "*" & Forms!frmName!objName & "*"

    This will take the entry in the form and look for all results that contain that string, regardless of it being at the beginning, middle, or end of the result. The only problem though, is that it wont fix spelling issues. For example, "Mian Street" will not return "Main Street" as a reply. You may want to call up Google and ask them how they do it.

  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,521
    You can also use this:

    http://www.mvps.org/access/queries/qry0001.htm

    Note that the technique posted by TheShabz is fine for text fields, not so good for numeric fields.
    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. help for access 2003
    By elgo in forum Access
    Replies: 1
    Last Post: 03-07-2010, 03:14 PM
  2. 64-bit with Access 2003
    By rvmick in forum Access
    Replies: 1
    Last Post: 12-02-2009, 01:35 PM
  3. Replies: 6
    Last Post: 12-01-2009, 11:59 AM
  4. converting from Access 2003 to Access 2007
    By LawrenceLau in forum Access
    Replies: 6
    Last Post: 11-20-2008, 03:53 PM
  5. Replies: 1
    Last Post: 09-06-2006, 11:48 AM

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