The code that Shoppe modified in db.cgi sub add_record was...
Code:
# We keep checking for the next available key, or until we've tried 50 times
# after which we give up.
while ($status eq "duplicate key error" and $db_key_track) {
return "duplicate key error" if ($counter++ > 50);
$in{$db_key}++;
$status = &validate_record;
}
Change: if ($counter++ > 50);
to this: if ($counter++ > 150);
or higher.
Thank you for your help Shoppe,
Dave T
[This message has been edited by Dave T (edited February 02, 2000).]