Page 1 of 1

Replace a Value in a Field...

Posted: 2003-05-01 22:47:03
by Guest
Can any one explain me how can i change a value in any field.

Exemple: Change "Comedy" for "Comédia" (portuguese) in the Category

Thanks....

Posted: 2003-05-01 23:20:52
by antp
You mean modify the value in all the movies ?

See the "find & replace" sample script
(Tools -> Scripting)

Or modify the list contents ?
Go to Tools -> Preferences -> Drop-down lists

Posted: 2003-05-02 02:40:32
by Guest
I try this in the find&replace Script, but don't work:

// SCRIPTING
// Find & Repace a value in a field
program FindReplace;
const
OldValue = 'Comedy';
NewValue = 'Comédia';
Field = fieldCategory;
WholeFieldOnly = False;


Can any one help me...

Thanks

Posted: 2003-05-02 08:48:59
by antp
What do you mean by "don't work" ?
Did you select all the movies that have to by modified (e.g. the whole list)
Because by default it applies that only to selected movie(s)

Posted: 2003-05-03 18:06:56
by Guest
Thanks it work now... ;)

Posted: 2003-05-04 14:36:51
by palantir
biba!

se quiseres, eu fiz uma versão do programa (versao 3.4.2) em português. é preciso fazer algumas alterações, mas sempre é melhor do que a brasileira...

não tenho os valores dos campos traduzidos, só está traduzida a estrutura do programa.

se quiseres mando-te isso por mail.

Posted: 2003-05-04 18:09:44
by antp
what are you asking :??:

Posted: 2003-05-05 14:09:03
by palantir
Sorry ;)

I was offering him the portuguese translation I made... only I was saying that in portuguese :hihi: