Joseppi
Registered User.
- Local time
- Today, 16:11
- Joined
- Jul 4, 2004
- Messages
- 10
Hello all,
I have a database that tracks Work Orders submitted by 4 different sections in my organization. What I am trying to do is create a TrackingNo field that is based on each of these 4 sections. For example, if the workorder is raised by my Admin section, I need to generate a TrackingNo that would look like:
ADM4001
ADM4002 etc
If it was my Transportation Section, It would be:
TN4001
TN4002 etc
To further complicate matters, I need to be able to generate these numbers on a yearly basis. i.e. On Jan 01 2005, I need new Work Orders to be numbered;
ADM5001
TN5001
ADM5002 etc
I would like to keep all of the entries in a single table if possible but am also open to 4 separate tables and then using a Union Query to comile and report the data. I have searched high and low and can not find a solution to this dilemna. I would appreciate any help anyone could offer.
I have a database that tracks Work Orders submitted by 4 different sections in my organization. What I am trying to do is create a TrackingNo field that is based on each of these 4 sections. For example, if the workorder is raised by my Admin section, I need to generate a TrackingNo that would look like:
ADM4001
ADM4002 etc
If it was my Transportation Section, It would be:
TN4001
TN4002 etc
To further complicate matters, I need to be able to generate these numbers on a yearly basis. i.e. On Jan 01 2005, I need new Work Orders to be numbered;
ADM5001
TN5001
ADM5002 etc
I would like to keep all of the entries in a single table if possible but am also open to 4 separate tables and then using a Union Query to comile and report the data. I have searched high and low and can not find a solution to this dilemna. I would appreciate any help anyone could offer.