Rude Awakening
New Member
- Joined
- Jul 10, 2014
- Messages
- 36
- Office Version
- 365
Hey All
Its easy to do this in Excel but Access apart from the general stuff to me is difficult.
Basically I need to create Unique ID's for requirements. Each requirement has a program and the requirements are based on the program.
There is a field(record) in the table for Program, so What I need is for Access to grab the first three letters of the program name, add a three character integer after the grabbed letters, and increment the number each time the three letters are the same and then to re-indent from 000 when the letters change i.e.
Google(Goo), Yahoo(Yah), MSN(MSN)
I don't mind if I need to have a column with the three characters pulled, but would prefer not to.
Cheers folks
<tbody>
</tbody>
Its easy to do this in Excel but Access apart from the general stuff to me is difficult.
Basically I need to create Unique ID's for requirements. Each requirement has a program and the requirements are based on the program.
There is a field(record) in the table for Program, so What I need is for Access to grab the first three letters of the program name, add a three character integer after the grabbed letters, and increment the number each time the three letters are the same and then to re-indent from 000 when the letters change i.e.
Google(Goo), Yahoo(Yah), MSN(MSN)
I don't mind if I need to have a column with the three characters pulled, but would prefer not to.
Cheers folks
Google | GOO | GOO - 001 |
Google | GOO | GOO - 002 |
MSN | MSN | MSN - 001 |
Yahoo | YAH | YAH - 001 |
Google | GOO | GOO - 003 |
MSN | MSN | MSN - 002 |
MSN | MSN | MSN - 003 |
Yahoo | YAH | YAH - 002 |
Yahoo | YAH | YAH - 003 |
Yahoo | YAH | YAH - 004 |
Google | GOO | GOO - 004 |
MSN | MSN | MSN - 004 |
MSN | MSN | MSN - 005 |
Google | GOO | GOO - 005 |
MSN | MSN | MSN - 006 |
MSN | MSN | MSN - 007 |
Yahoo | YAH | YAH - 005 |
Google | GOO | GOO - 006 |
Yahoo | YAH | YAH - 006 |
Yahoo | YAH | YAH - 007 |
<tbody>
</tbody>