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.
Why not just Have 2 feild 1 Autonumber field and a date Submitted feild and join then as one on the reports / Forms
hope this help
See clear as mud
the aim is store once, not store multiple times
Remember... Optimize 'til you die!
Progaming environment: Access based on my own environment: DAO3.6/A97/A2000/A2003/A2007/A2010 VB based on my own environment: vb6 sp5 ASP based on my own environment: 5.6 VB-NET based on my own environment started 2007 SQL-2005 based on my own environment started 2008 MYLE YOUR PASSWORD IS JUST LIKE YOUR TOOTHBRUSH DON'T SHARE IT.