Results 1 to 2 of 2
  1. #1
    pjd71's Avatar
    pjd71 is offline Novice
    Windows 7 32bit Access 2013
    Join Date
    Apr 2013
    Location
    Sunset Beach, NC
    Posts
    15

    Question Custom Auto Number (somewhat complex)

    Getting more and more dangerous with creating databases. This is the new sticking point I am on and please understand that I am still learning VBA (figure out what commands do what). I have created a Fiscal Database and want to create a custom ID Auto number.



    I would like the ID number start with FCP, the Fiscal Year (comes off of field of form), Fund Control Point (comes from the form) and a 4 digit auto number (to start with 0001).
    Example: FCP-2013-021-0001

    Of course, this number gets stored to the Table and the ID number is generated/viewable (Un-enabled) in the form when information is entered into the form.
    The Fund Control Point is a combo box within the form and does auto populate some other fields within the form.

    Thanks in advance!

  2. #2
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 7 64bit Access 2010 32bit
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    See if Paul's code helps a bit: http://www.baldyweb.com/CustomAutonumber.htm

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

Similar Threads

  1. Custom form - complex model of data
    By josnow in forum Forms
    Replies: 1
    Last Post: 11-28-2012, 01:25 PM
  2. Auto Number
    By sah in forum Forms
    Replies: 1
    Last Post: 04-30-2012, 07:20 AM
  3. Auto-number
    By rkski in forum Programming
    Replies: 2
    Last Post: 01-13-2010, 02:04 AM
  4. Custom & Auto Incrementing Job Number
    By mastromb in forum Programming
    Replies: 1
    Last Post: 01-05-2010, 02:58 PM
  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