Page 1 of 1

[REQ]Insert phrase before movie title - possible via script?

Posted: 2010-12-10 18:14:50
by daws0n
Hi,

I am wanting to add a prefix phrase to large quantity of my AMC database, rather than by hand is this possible via a script? I simple need to take the original title and insert the phrase before it.

Any help would be much appreciated!

Thanks

Posted: 2010-12-12 09:56:41
by antp
Hi,
Sure, it would be something like this:

Code: Select all

program NewScript;
var
  s: string;
begin
    s := GetField(fieldOriginalTitle);
    SetField(fieldOriginalTitle, 'Text to insert ' + s);
end.

Posted: 2010-12-12 11:09:06
by daws0n
Thanks very much antp, it works great and has saved me a lot of time!