I have a form for tracking media in a project. Each media gets an asset tag. This tag looks like the following:
123456_00001_CDR
The first 6 digits are the project id. The next 5 are a counter, which is padded for sorting and such. The last 3 characters are an abbreviation for the type of media. I have a look up table with the possible abbreviations and a description of what they are.
Users enter new media on the media tracking form. To get to this form, they are filtering to a given project. Instead of having users create that entire string for each media they are tracking, I want them to choose from a combo, the type of media they just got. Then I want that string to be created and stored in the media tag field, as well as displayed in a read only field on the form. The counter is decided as how many assets exist in that filtered record set. So if there are none, and this is the first record, it will be 00001. But if there are already 9 assets, the new one will be 00010.
I am not sure how to go about doing this. I searched around, but didn't find many examples of padded counters lol.
Anyone know of an easy way to get this working?
Thanks!
misscrf
It is never too late to become what you could have been ~ George Eliot
123456_00001_CDR
The first 6 digits are the project id. The next 5 are a counter, which is padded for sorting and such. The last 3 characters are an abbreviation for the type of media. I have a look up table with the possible abbreviations and a description of what they are.
Users enter new media on the media tracking form. To get to this form, they are filtering to a given project. Instead of having users create that entire string for each media they are tracking, I want them to choose from a combo, the type of media they just got. Then I want that string to be created and stored in the media tag field, as well as displayed in a read only field on the form. The counter is decided as how many assets exist in that filtered record set. So if there are none, and this is the first record, it will be 00001. But if there are already 9 assets, the new one will be 00010.
I am not sure how to go about doing this. I searched around, but didn't find many examples of padded counters lol.
Anyone know of an easy way to get this working?
Thanks!
misscrf
It is never too late to become what you could have been ~ George Eliot