Results 1 to 2 of 2
  1. #1
    jasonbarnes is offline Advanced Beginner
    Windows XP Access 2007
    Join Date
    Dec 2010
    Location
    NC
    Posts
    56

    WILDCARDS in Queries

    What is the correct syntax to use wildcards around a field name?



    Example : WHERE tblName.MarksDescription like '*(tblCHS.Marks)*';

    Do you put () around the field name? This does not seem to work. I get 0 matches. I want the query to find the tblCHS.Marks as a substring within the MarksDescription field. I haven't tried anything else. All examples are seaching for one particular string such as "ABC"

    Thanks!?!

  2. #2
    jasonbarnes is offline Advanced Beginner
    Windows XP Access 2007
    Join Date
    Dec 2010
    Location
    NC
    Posts
    56
    The only other variation I see is

    * & tblCHS.Marks & *;

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

Similar Threads

  1. Can you use wildcards in parameter queries?
    By noaccessguru in forum Queries
    Replies: 5
    Last Post: 05-24-2011, 08:44 PM
  2. VBA Wildcards
    By dssrun in forum Programming
    Replies: 11
    Last Post: 03-31-2011, 08:44 AM
  3. SQL Wildcards
    By sandlucky in forum Queries
    Replies: 4
    Last Post: 03-28-2011, 03:31 AM
  4. Using wildcards (*) in SQL
    By SIGMA248 in forum Queries
    Replies: 1
    Last Post: 07-22-2010, 08:44 PM
  5. Wildcards?!
    By esx_raptor in forum Access
    Replies: 3
    Last Post: 02-19-2010, 03:22 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