Results 1 to 2 of 2
  1. #1
    bangemd is offline Novice
    Windows XP Access 2002 (version 10.0)
    Join Date
    May 2009
    Posts
    18

    filter by the number of character

    Hello everyone.

    our trading partner code used to be three characters long. However since the company growth we now using the 4 characters code. How do i filter our all the 1 that have 4 characters.

    for example:
    tpcode
    wal
    sam


    kma
    sams
    walm
    kmar

  2. #2
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 10 Access 2013 32bit
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    How about:
    WHERE Len([tpcode]) = 3

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

Similar Threads

  1. Using Access for an Excel like filter?
    By crownedzero in forum Queries
    Replies: 0
    Last Post: 06-15-2009, 01:55 PM
  2. Replies: 1
    Last Post: 03-12-2009, 09:55 AM
  3. Applying a filter to a combo box
    By bugchaser in forum Programming
    Replies: 1
    Last Post: 02-20-2009, 02:37 PM
  4. Sum Of Positive Number and Negative Number
    By maysamab in forum Reports
    Replies: 1
    Last Post: 10-20-2008, 04:06 PM
  5. Newbie filter question
    By benplace in forum Access
    Replies: 1
    Last Post: 12-03-2005, 08:31 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