Error: Country cannot be deleted because it is present on one or more records

When deleting a country record, users may receive any of the following errors: 
  • Error: Table entry cannot be deleted because it is present on one or more records
  • Error: Country cannot be deleted because it is present on one or more gift records
  • Error: Country cannot be deleted because it is present on one or more address records
  • Error: Country cannot be deleted because it is present on one or more records
  • Error: This country cannot be deleted because it is in use by one or more records in the program
Note : Before you proceed with the following instructions, back up the database. If your organization integrates multiple Blackbaud products, refer to the Additional Requirements section of the backup article.
Try each of the following steps in order until the error is resolved:
  1. Globally delete the country from all constituent and relationship records.
  2. Create a query to find gifts that are using the country as a currency country. Update the currency country on the gifts.
  3. Run the Delete Countries plug-in.

Environment

 7.91.5056, patch 13

Was this article helpful?