Results 1 to 4 of 4
  1. #1
    dotti1966 is offline Novice
    Windows XP Access 2007
    Join Date
    May 2011
    Posts
    2

    Username help needed...


    I need to create a username from the first 3 letters of the first name and 2 letters form the last name with a sequential number. Can anyone help as this is driving me mad. Thanks dotti

  2. #2
    Rixxe is offline Blessed Bear
    Windows 7 Access 2007
    Join Date
    Sep 2010
    Location
    London (Essex ... yep!)
    Posts
    184
    Well it's hard to tell how far you have got, as you didn't give us much to work on in the terms of detail. What have you tried? Do you have a query already?

    If you havent started this link might help:
    http://www.techonthenet.com/access/f...ing/concat.php

  3. #3
    nicknameoscar is offline Advanced Beginner
    Windows XP Access 2000
    Join Date
    Apr 2011
    Location
    Earlysville, VA
    Posts
    91
    The below link should help you retrieve the 3 characters from the first name and the 2 characters from the last name:

    http://www.techonthenet.com/access/f...tring/left.php

    As Rixxe said there are not enough details but perhaps the following link is useful (depending on what you have already):

    http://www.techonthenet.com/access/f...umeric/max.php

  4. #4
    dotti1966 is offline Novice
    Windows XP Access 2007
    Join Date
    May 2011
    Posts
    2
    Sorry about the lack of detail this is what I have so far.
    =Left([FirstName],3) & Left([LastName],2) & Right([UserName],4)+1

    I have pt this in to a form but I wondered if it was possible to put it into a query.The outcome I am looking for is a registration form that when you put in your first and last name in it takes the first 3 in first name and first 2 in last name with a sequential number that runs from a set of details I already have.

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

Similar Threads

  1. Username/Password From Table
    By mj-egerton in forum Programming
    Replies: 0
    Last Post: 04-03-2011, 04:46 AM
  2. Recording UserName Login
    By Moonsitter53 in forum Access
    Replies: 1
    Last Post: 03-18-2011, 02:40 PM
  3. Recording Username
    By Juan4412 in forum Forms
    Replies: 9
    Last Post: 02-01-2011, 11:15 PM
  4. Username For Sharepoint
    By is49460 in forum SharePoint
    Replies: 0
    Last Post: 10-08-2010, 05:40 PM
  5. request username and password
    By meysam_e2006 in forum Access
    Replies: 2
    Last Post: 07-02-2010, 02:03 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