Results 1 to 2 of 2
  1. #1
    wm138 is offline Novice
    Windows XP Access 2007
    Join Date
    Aug 2012
    Posts
    4

    Access 2007 Wildcard query in an unbound text box

    Hello,



    I am new to Access 2007. I have a list of companies of are constantly updated,deleted, and created which are listed on a table. I have a form with an unbound text box with a sumbit button that opens a new form with the information of the name of the company in the search box. Unfornately, if the name of the company is not perfect, the record is not found and the form opens a new record. I want search box tyo autill, or "wildcard" when I begin to input a name of a company. I tried a combo box but my boss does not like it. He wants a wildcard search. Any help would be greatly appreciated.

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,770
    What's so bad about combobox with AutoExpand?

    You can set query parameter criteria with wildcard. Here is demo http://datapigtechnologies.com/flash...tomfilter.html

    Other methods involve more code to set form Filter and FilterOn or RecordSource properties.

    However, no method can guarantee successful search if entry in the criteria or the data are misspelled. E.g. search 'Wilsson' will not find 'Wilson' and vice versa.
    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.

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

Similar Threads

  1. Replies: 6
    Last Post: 12-28-2012, 01:26 PM
  2. Replies: 2
    Last Post: 06-11-2012, 09:37 AM
  3. Unbound Text Box Input to Query Issue
    By DB2010MN26 in forum Forms
    Replies: 2
    Last Post: 09-14-2011, 10:12 AM
  4. Access 2007 Code Guru please: Unbound Attachment
    By MatthewFF in forum Programming
    Replies: 2
    Last Post: 02-01-2010, 07:31 AM
  5. Parameter Query & Wildcard
    By Rick West in forum Queries
    Replies: 8
    Last Post: 12-29-2009, 10:54 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