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

    Question Creating a search button

    Hello,


    I currently have very little knowledge on how to create things using VBA code.
    My problem I'm having is i have several textboxes and a button labeled search,
    what i need to be able to do is have the user enter in information into the textboxes then hit the search button, from there with the use of wildcards a query type setup appears and it gives search results similar to the search criteria.
    If anyone can help I really appreciate it. If it's code in which i have to rearrange it to suit my problem i most likly won't be able to figure it out

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,601
    Is this something you have set up? Why isn't it working - error message, wrong results, nothing happens?

    Are you using parameterized query? Review http://datapigtechnologies.com/flash...tomfilter.html
    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.

  3. #3
    AlexHedley's Avatar
    AlexHedley is offline Competent Performer
    Windows 7 64bit Access 2010 32bit
    Join Date
    Apr 2013
    Location
    England
    Posts
    180
    You could also check out http://599cd.com/tips/access/multi-field-search-form-like/

    A good way is to use the following as Criteria in your Query:
    LIKE "*" & TEXTBOXNAME & "*"

    --
    Alex Hedley
    TechHelp Team Leader
    599CD.com

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

Similar Threads

  1. creating search button
    By jimmie in forum Access
    Replies: 7
    Last Post: 12-30-2012, 08:19 PM
  2. Replies: 5
    Last Post: 07-13-2012, 01:15 AM
  3. Creating a search button for key words
    By In need in forum Access
    Replies: 10
    Last Post: 05-01-2012, 04:21 AM
  4. Replies: 12
    Last Post: 03-22-2012, 02:48 AM
  5. Replies: 3
    Last Post: 01-14-2010, 08:32 AM

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