Results 1 to 3 of 3
  1. #1
    Ekhart is offline Advanced Beginner
    Windows 10 Access 2016
    Join Date
    Jun 2016
    Posts
    80

    Table using wildcards in field


    Can I use wildcards in the field for a table?
    We pull data from a warehouse we do not have control over that has very specific titles in it. We generalize these on our end but do not want to replace that data.
    Example: 'IC/IFC Interfacility Consult Pain' and 'IC/IFC Interfacility Consult Surgery' would both be kept on our end as 'IFC'. Right now I have a table that links the specific names to our 'nicknames' if you will. I just wondered if I can simplify this for the ones that are very similar. For instance all titles that begin 'IC/IFC' would be nicknamed IFC.
    Would it be easier doing this on a query level vs having a table with relationships?

    What I was looking for was similar to just being able to enter 'IC/IFC*' in the field of the table.

  2. #2
    Bulzie is offline VIP
    Windows 7 64bit Access 2007
    Join Date
    Nov 2015
    Posts
    1,511
    In a new column:

    Nickname: IIf(Left([YourField],6) = "IC/IFC", "IFC", "Somethingelse")
    or
    Nickname: IIf([YourField] Like"IC/IFC*", "IFC", "Somethingelse") Not sure this syntax is correct

  3. #3
    orange's Avatar
    orange is offline Moderator
    Windows 10 Access 2010 32bit
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,870

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

Similar Threads

  1. Replies: 2
    Last Post: 06-29-2016, 09:37 AM
  2. wildcards
    By THOMASM4425 in forum Access
    Replies: 1
    Last Post: 04-29-2014, 04:06 PM
  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