Results 1 to 2 of 2
  1. #1
    sevanty7 is offline Advanced Beginner
    Windows 7 32bit Access 2010 32bit
    Join Date
    May 2013
    Posts
    37

    Question Adding a search form

    Hello,

    I current have within my database:
    tblMain
    frmSearch - 7 different text criteria boxes and 1 buton label search
    frmSearchResults

    What i need to do is have users type in data into any of the textboxes (with wildcards enabled) and have it so that a macro or code runs that finds related entries and displays them into a new form called frmSeachResults.

    Thank you for any help you can provide, I know i have done this in the past but i cannot seem to get anything i try to work.

  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,652
    For that many options I use dynamic SQL, demonstrated in the sample db here:

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

    it could be adapted to populate a new form.
    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: 7
    Last Post: 08-08-2012, 03:28 PM
  2. Replies: 5
    Last Post: 07-13-2012, 01:15 AM
  3. Replies: 1
    Last Post: 04-20-2012, 03:16 AM
  4. Replies: 12
    Last Post: 03-22-2012, 02:48 AM
  5. Search result links adding extra info
    By Vbcw in forum Programming
    Replies: 0
    Last Post: 12-19-2008, 12:19 PM

Tags for this Thread

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