JoeTekTips
Programmer
Hello,
I have to produce an automatically generated number using VBA for an Access db. The format is supposed to be the year followed by the day and month followed by an incremental number. For example;
200505010001
200505010002
200505010002 etc....
The incremental number part would reset from day to day. I'm not sure how to properly parse out the date or the best way to handle the incremental number. I was thinking about making a table with a date and an autonumber for the primary key to get the values.
If anyone can help on this one, I would really appreciate it!
-Joe
I have to produce an automatically generated number using VBA for an Access db. The format is supposed to be the year followed by the day and month followed by an incremental number. For example;
200505010001
200505010002
200505010002 etc....
The incremental number part would reset from day to day. I'm not sure how to properly parse out the date or the best way to handle the incremental number. I was thinking about making a table with a date and an autonumber for the primary key to get the values.
If anyone can help on this one, I would really appreciate it!
-Joe