Results 1 to 3 of 3
  1. #1
    jenncivello is offline Advanced Beginner
    Windows XP Access 2010 64bit
    Join Date
    Nov 2011
    Posts
    36

    Auto number a field

    I have a table that has a number field that increments the number +1 for every new record that is added. But I would like it to look like this ITCC12-001 then ITCC12-002 etc.



    Can you please let me know if this is easy enough to do, as I am a basic access user.

    Thank you

  2. #2
    alansidman's Avatar
    alansidman is offline Indifferent
    Windows 7 32bit Access 2007
    Join Date
    Apr 2010
    Location
    Steamboat Springs
    Posts
    2,536
    In your table, in the design view, set the data type to AutoNumber. In the properties, set the format to "ITCC12-"#. This should increment the number and give you the prefix ITCC-12.

    Alan

  3. #3
    RayMilhon is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    Aug 2011
    Location
    Southern California
    Posts
    1,085
    To get the format you specified use Alans sample with 1 minor change

    "ITCC12-"000

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

Similar Threads

  1. Customised Auto Number Help
    By aamer in forum Access
    Replies: 3
    Last Post: 02-16-2011, 04:34 AM
  2. Replies: 4
    Last Post: 06-25-2010, 12:32 PM
  3. AuTo NuMbEr
    By Evgeny in forum Forms
    Replies: 2
    Last Post: 04-25-2010, 04:23 AM
  4. Auto-number
    By rkski in forum Programming
    Replies: 2
    Last Post: 01-13-2010, 02:04 AM
  5. Need help with an auto number
    By Wrangler in forum Database Design
    Replies: 1
    Last Post: 02-10-2006, 03:21 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