My Assistant
![]() ![]() |
|
|
Jan 24 2008, 05:58 PM
Post
#1
|
|
|
UtterAccess Addict Posts: 113 |
Is it possible to have 2 auto numbering features in a table? One would be the general primary key and the other would be whatever 5 digit sequential number I assign. So whenever a new entry is made the 5 digit sequential number would add 1 to the previous number? See example below.
PrimaryKey DocStampNum 1 01858 2 01859 3 01860 4 01861 Many thanks! |
|
|
|
Jan 24 2008, 06:00 PM
Post
#2
|
|
|
UtterAccess VIP Posts: 6,898 From: Earth... |
Hunter,
Take a look at the DMax() function. It can be used to increment a number 'like' an autonumber. I think thats what you are looking for. Good luck, (IMG:http://www.utteraccess.com/forum/style_emoticons/default/sad.gif) |
|
|
|
Jan 24 2008, 06:29 PM
Post
#3
|
|
|
UtterAccess Addict Posts: 113 |
I've never used this function before so I do not know how to. Can you give me an example on how to. If I assign a 5 digit sequential number lets say 01256, how do I get it to add 1 in sequentia to read 01257?
Thanks. |
|
|
|
Jan 24 2008, 06:34 PM
Post
#4
|
|
|
UtterAccess VIP Posts: 18,396 From: Oklahoma City, Oklahoma |
As Aqua pointed out, you will need a custom auto number.
Here are just a few examples: Archive 1 Archive 2 also look here http://www.utterangel.com/utterangel.aspx for "Autonumber" without autonumber Hope this helps ... |
|
|
|
![]() ![]() |
|
Go to Top · Lo-Fi Version | Time is now: 20th May 2013 - 02:25 AM |