Page 1 of 1

clone numer to media label

Posted: 2006-04-20 08:33:04
by -=[WeBsEcReTa]=-
My catalog is until I number 872. How I can clon the number of movie to media label? for all



Mi catalogo es hasta el numero 872. ¿Cómo puedo clonar el número de la pelicula a código de registro? para todos



Image

Posted: 2006-04-20 12:23:36
by antp
using the following script:

Code: Select all

program NewScript;
begin 
  SetField(fieldMedia, GetField(fieldNumber));
end.

Posted: 2006-04-22 14:25:15
by -=[WeBsEcReTa]=-
Cool, thank you very much :P

Posted: 2006-04-28 01:09:47
by -=[WeBsEcReTa]=-
It is possible to be modified to put something before the mumber for example:
456 ==> mov-456



Se puede modificar para poner algo antes del mumero por ejemplo:
456 ==> mov-456

Posted: 2006-04-28 08:02:49
by antp

Code: Select all

  SetField(fieldMedia, 'mov-' + GetField(fieldNumber));
or if you want to add it to the existing media field, replace fieldNumber by fieldMedia

Posted: 2006-04-28 16:13:03
by -=[WeBsEcReTa]=-
thank you very much my friend :grinking: