Results 1 to 3 of 3
  1. #1
    Jen0dorf is offline Competent Performer
    Windows 10 Access 2013 32bit
    Join Date
    Jul 2015
    Location
    UK
    Posts
    453

    similar to a soundex search?

    Hi

    I'm using the code

    Code:
    Like [TempVars]![varBaptismForename] & "*"
    in a query.



    Does the &"*" act like a soundex search ?

    thanks

    Ian

  2. #2
    John_G is offline VIP
    Windows 7 32bit Access 2010 32bit
    Join Date
    Oct 2011
    Location
    Ottawa, ON (area)
    Posts
    2,615
    No. The "Like" is used for pattern matching, with the "*" being a "wild card" meaning "anything that follows".

    So, if
    [TempVars]![varBaptismForename] = "Jon", then Like [TempVars]![varBaptismForename] & "*"

    will match "Jon", "Jonathan", "Jonas" or "Jones", but it will not match "John", "Jane" or "Joan"


  3. #3
    Jen0dorf is offline Competent Performer
    Windows 10 Access 2013 32bit
    Join Date
    Jul 2015
    Location
    UK
    Posts
    453
    MAny thanks for the elucidation

    IAn

    Quote Originally Posted by Jen0dorf View Post
    Hi

    I'm using the code

    Code:
    Like [TempVars]![varBaptismForename] & "*"
    in a query.

    Does the &"*" act like a soundex search ?

    thanks

    Ian

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

Similar Threads

  1. Soundex search not repeating on fail
    By Jen0dorf in forum Access
    Replies: 10
    Last Post: 07-28-2017, 05:33 AM
  2. Replies: 14
    Last Post: 06-27-2017, 04:52 PM
  3. Soundex search not working on repeat
    By Jen0dorf in forum Access
    Replies: 6
    Last Post: 06-12-2017, 11:50 AM
  4. Search Form similar to the app List style
    By HR123 in forum Database Design
    Replies: 1
    Last Post: 01-31-2016, 11:37 AM
  5. Soundex Search
    By alphabetsoup in forum Queries
    Replies: 3
    Last Post: 10-05-2011, 10:47 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