Hi folks,
I've been working with a script to add an 020 field with the 13 digit ISBN, generating the 13 digit ISBN from the 10 digit ISBN. This configuration works fine in DRA classic (making the UPC searchable as an ISBN). So far so good. The problem is that if someone had conscientiously added the UPC in 020 ALREADY (right now this doesn't happen often, but soon it might) you would end up with duplicate 020s for the 13 digit ISBN, hence my question. How could you write your script to say "add this field unless it duplicates an existing field"? That is: For: 020 $a0838935419 (alk. paper) Append field: 020 $a9780838935415 Unless: 020 $a9780838935415 already present in the record This could also be useful other places and I'm sure someone is already doing it. It might be good to add to the documentation too. Thanks in advance for your help! JJ **Views expressed by the author do not necessarily represent those of the Queens Library.** Jane Jacobs Asst. Coord., Catalog Division Queens Borough Public Library 89-11 Merrick Blvd. Jamaica, NY 11432 tel.: (718) 990-0804 e-mail: [EMAIL PROTECTED] FAX. (718) 990-8566