Results 1 to 2 of 2
  1. #1
    Join Date
    Jul 2013
    Posts
    1

    How can I enable users to use wildcards in their searches on a form ?

    Hi,



    I really appreciate any advice on this.

    My experience is mostly in Oracle SQL, but in this position I am working with Access.

    I have a Excel spreadsheet with an embedded query that pulls from an Access table. The users use a spreadsheet with an embedded query to search on a field called "Circuit ID", to bring up results showing the history of a given circuit id. Currently they have to enter an exact match, for example if the circuit id value is DHECHUIOY, they need to enter this exact value DHECHUIOY. They want instead to be able to enter DHEC and a wildcard character to bring back every value that begins with DHEC. There doesn't seem to be a way to do this in a spreadsheet with an embedded query.

    I finally decided that it would be easier to create a form in Access

    Does anyone know exactly how I can create a form which allows users to search on a value using wildcard characters ? (the user enters the wildcard character).

    I'm on Access 2012, Windows Vista

    Thanks again

    Steve

  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,598
    One way is with parameterized query where the wildcard is part of the filter criteria. User just enters the partial value, not the wildcard because the query has the wildcard. Review: http://datapigtechnologies.com/flash...earchform.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.

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

Similar Threads

  1. Replies: 3
    Last Post: 07-02-2013, 01:39 PM
  2. Need help with code to enable autopopulation of form
    By bacarley in forum Programming
    Replies: 1
    Last Post: 11-29-2011, 11:54 PM
  3. Replies: 1
    Last Post: 08-14-2011, 12:15 AM
  4. Replies: 2
    Last Post: 06-20-2010, 06:48 AM
  5. Replies: 21
    Last Post: 12-27-2009, 09:19 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