I already have this system of cataloging DVD movies by the year it was purchased and a number so that i can keep track of movies when they were purchased and so on. My question is how do I enter this information in to the Media label field automatically instead of entering it one by one
e.g. DVD 04-001 VCD 04-002 etc,
Is there any way to write a script so that it will automatically take the record number and append dvd or vcd to the number in specific format and enter it in some field like media label ?
Thanks
ploki
custom media catalog number
I used to use excel and for making a list of all the movies, where I had a system with movie number (numeric), then movie catalog number (alpha numeric) and movie name and information.
The movie catalog numbers is based on
1. media type e.g. DVD
2. year the movie was purchased, e.g. 03, 04
3. The movie number e.g. 001 ...
so finally the catalog no. is DVD-04-001 etc.
Now in ANT MC there is automatic numbering of the database. I want to utilize that numbering system to set my old movie catalog number in the media label field. So I want to write a script that will take the number from the number field in AMC and manipulate it appending the media type and the year to create a catalog number. and insert this catalog number in the media label field. Is there anyway to do this ?
Thanks for your prompt reply.
The movie catalog numbers is based on
1. media type e.g. DVD
2. year the movie was purchased, e.g. 03, 04
3. The movie number e.g. 001 ...
so finally the catalog no. is DVD-04-001 etc.
Now in ANT MC there is automatic numbering of the database. I want to utilize that numbering system to set my old movie catalog number in the media label field. So I want to write a script that will take the number from the number field in AMC and manipulate it appending the media type and the year to create a catalog number. and insert this catalog number in the media label field. Is there anyway to do this ?
Thanks for your prompt reply.
You mean the year of the "year" field or the year part of the "date" field ?
In the first case, it is quite easy:
In the other case, it depends of the date format that you use I think.
In the first case, it is quite easy:
Code: Select all
program MakeLabel;
begin
SetField(fieldMedia, GetField(fieldMediaType) + '-' + GetField(fieldYear) + '-' + GetField(fieldNumber));
end.
Code: Select all
program MakeLabel;
begin
SetField(fieldMedia, GetField(fieldMediaType) + '-' + Copy(GetField(fieldDate), 7, 4) + '-' + GetField(fieldNumber));
end.