Results 1 to 2 of 2
  1. #1
    EHittner is offline Advanced Beginner
    Windows 7 64bit Access 2010 64bit
    Join Date
    Nov 2009
    Posts
    32

    Query Part of a Field

    I'm looking for a way to query part of a field that contains a string of characters with spaces. I want to return the last section of the string after the final space. Example: "USER MALORY IGNACIOUS IMUSER" I want the query to return the part of the string at the end - or "IMUSER".

    The length of that part of the string will vary in length, depending on the length of the user's last name.

    How do I pick that part of the field out for my results?

  2. #2
    orange's Avatar
    orange is online now Moderator
    Windows XP Access 2003
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,848
    Last edited by orange; 02-01-2015 at 06:52 AM. Reason: spelling

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

Similar Threads

  1. Query any part of the field
    By spleewars in forum Queries
    Replies: 1
    Last Post: 05-31-2012, 07:13 PM
  2. Format part of field
    By tylerg11 in forum Forms
    Replies: 2
    Last Post: 01-21-2012, 01:48 PM
  3. Replies: 3
    Last Post: 06-23-2011, 07:39 PM
  4. Unmatched query to lookup part of the field
    By DMetcalfe in forum Queries
    Replies: 15
    Last Post: 10-08-2010, 05:30 AM
  5. Hiding Part Of a Field
    By ACCESSROOKIE1950 in forum Access
    Replies: 2
    Last Post: 05-09-2010, 09:52 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