Results 1 to 2 of 2
  1. #1
    sau3-access is offline Novice
    Windows XP Access 2007
    Join Date
    Oct 2011
    Posts
    1

    Grab first characters from field

    Hello community,

    Is there documentation/reading out there on how to query fields and take only a certain number of characters from said field?

    We are setting up a user database on a 3rd party web application and they have a 15 character username limit so we want to pull the first 3 letters of a persons first name, middle initial, and first 4 letters of a persons last name to use as the username. We have an Access database will all of this information but I am not sure what the correct query is to complete this task.



    John P Roberts = JohPRobe

    Thank you ahead of time for your assistance,

    SAU3 - NH

  2. #2
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,521
    Sounds like you want the Left() function.
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

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

Similar Threads

  1. grab partial data from one cell
    By andiwir in forum Queries
    Replies: 4
    Last Post: 08-10-2011, 08:55 PM
  2. Replies: 4
    Last Post: 10-15-2010, 07:50 AM
  3. Replies: 9
    Last Post: 09-23-2010, 10:42 AM
  4. MDB database field limited to 64 or 255 characters
    By galapogos in forum Programming
    Replies: 1
    Last Post: 04-06-2010, 10:22 AM
  5. Counting Characters in a text field
    By velvettiger in forum Queries
    Replies: 1
    Last Post: 03-12-2010, 12:36 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