Results 1 to 2 of 2
  1. #1
    sharonir22 is offline Novice
    Windows 7 32bit Access 2013
    Join Date
    May 2015
    Posts
    16

    Form based query

    Hi
    I have a table that stores people information with their id and name.
    In the table the name is devided into 4 fields: first name, father's name, grandfather's name and last name.


    I have a search form where you can enter the name in 4 fields to search for similar names on the table.

    I want the query to be able to search for an exact match of fields in case the fields is filled and for any record in case it's empty .
    For example if the user enterd jack in the first name field and smith in the last name field and left the 2 others empty, the query will find all the people who's first name is jach and last name's smith.

    What sould i use as a criteria on my query?

    And also is there a way that the query can look for similar names? Like if someone writes john it will also find jon? Or johnathan?

    Tnx alot this place is saving me

  2. #2
    orange's Avatar
    orange is offline Moderator
    Windows XP Access 2003
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,849

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

Similar Threads

  1. Replies: 3
    Last Post: 06-18-2014, 10:40 AM
  2. Replies: 0
    Last Post: 06-03-2014, 05:15 AM
  3. Replies: 7
    Last Post: 07-11-2013, 10:45 AM
  4. Replies: 18
    Last Post: 10-10-2012, 10:10 AM
  5. Replies: 1
    Last Post: 07-25-2011, 09:10 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