01-22-06, 17:57 #1Registered User
- Join Date
- Jan 2006
Unanswered: Automatically create record numbers based on date
I am creating a database (with MsSQL backend) for tracking cases received by our crime lab, and need to create a unique record number based on the date that the case was submitted. The submission date is entered manually by a clerk and may/may not be entered into the database on the same date that it was submitted. The desired format would be YYYYMMDDnnnn with "nnnn" representing an auto-generated number which resets to "0001" for each case submission date.
I know that "anything is possible, it just takes time", but I would like to try to resolve this problem sometime this century.
01-22-06, 21:26 #2(Making Your Life Easy)
Provided Answers: 10
- Join Date
- Feb 2004
- New Zealand
Why not just Have 2 feild 1 Autonumber field and a date Submitted feild and join then as one on the reports / Formshope this help
the aim is store once, not store multiple times
Remember... Optimize 'til you die!
Access based on my own environment: DAO3.6/A97/A2000/A2003/A2007/A2010
VB-NET based on my own environment started 2007
SQL-2005 based on my own environment started 2008
YOUR PASSWORD IS JUST LIKE YOUR TOOTHBRUSH DON'T SHARE IT.
DONT WORRY ABOUT THOSE WHO TALK BEHIND YOUR BACK
THEY'RE BEHIND YOU FOR A REASON