On Wed, Apr 2, 2008 at 1:19 AM, Courtenay <court3nay at gmail.com> wrote: > IMO this function should be tested using the database, since it relies > heavily on the data. Agreed. Create a record, then create another record with duplicate data, and verify that the second record is invalid. Pat