Results 1 to 3 of 3
  1. #1
    khaugen is offline Novice
    Windows 10 Access 2016
    Join Date
    Apr 2021
    Posts
    1

    Question Custom ID - Access

    I am creating a tracking database in which I need a Custom ID table field which auto assigns a unique number to each record, to be formatted like this 2500-2021-0001, where 2500 is a fixed/constant, 2021 is the year the record was created and 0001 is the sequential record number.



    Thank you

    khaugen

  2. #2
    ssanfu is offline Master of Nothing
    Windows 10 Access 2010 32bit
    Join Date
    Sep 2010
    Location
    Anchorage, Alaska, USA
    Posts
    9,664
    Check out BaldyWeb - Custom Autonumbers/sequential numbers

    Also, do a search on "Custom Autonumbers" .

  3. #3
    ranman256's Avatar
    ranman256 is offline VIP
    Windows Vista Access 2010 32bit
    Join Date
    Apr 2014
    Location
    Kentucky
    Posts
    9,525
    use an autonumber field and a year field. combine them
    "2500-" & [year] & "-" & [autonum]

    zero programming.
    But if you want starting a 1, then you gotta do it the hard way and program it.
    I would do it the easy way.

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

Similar Threads

  1. Access custom ribbon
    By As226 in forum Access
    Replies: 7
    Last Post: 05-21-2019, 10:51 AM
  2. Replies: 2
    Last Post: 05-27-2014, 11:32 AM
  3. Replies: 2
    Last Post: 04-19-2013, 07:07 PM
  4. Custom VBA Toolbars (Access 2003, XP)
    By DenisStarbank in forum Access
    Replies: 0
    Last Post: 03-28-2013, 04:55 PM
  5. Custom Access system VS QB
    By Gilligan in forum Access
    Replies: 3
    Last Post: 08-05-2011, 08:25 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