[PET] ¿Renombrar varios campos a la vez? (rename fields)

If you made a script you can offer it to the others here, or ask help to improve it. You can also report here bugs & problems with existing scripts.
Post Reply
RANICUAJO
Posts: 33
Joined: 2006-12-03 11:01:14

[PET] ¿Renombrar varios campos a la vez? (rename fields)

Post by RANICUAJO »

Buenas ;)
Nunca lo hubiera pensado, pero ya llevo mas de 100 DVDses grabados y catalogados con el antmc.
El caso es que el campo "código del soporte" lo empece desde el 01 hasta el 99 y quisiera renombrarlo desde el 001 hasta el 099 para seguir con el 100...999. ¿alguna idea? :??:

how i can to "auto"change the field format for "media label" from 01..99 to 001...099 (insert one "0" before the actual label) Thanks :grinking:
antp
Site Admin
Posts: 9651
Joined: 2002-05-30 10:13:07
Location: Brussels
Contact:

Post by antp »

Hi,
Use the following:

Code: Select all

program NewScript;
begin
  SetField(fieldMedia, '0' + GetField(fieldMedia));
end.
RANICUAJO
Posts: 33
Joined: 2006-12-03 11:01:14

Fantastic work

Post by RANICUAJO »

A Million thanks antp. Really works very well!! :)

What it seemed to me so complicated, has turned out to be very simple thanks to your aid.
Thanks again :grinking: :grinking: :grinking:
Post Reply