# delOrphanRecs

### Gold and above only

### delOrphanRecs()

Scans the GoldMine database and deletes any orphaned records.

## Returns

No value returned.

## Description

This function will look in the various GoldMine tables in the database and delete records that do not have a corresponding Contact record in CONTACT1.

NOTE: this operation could take a while, and it is recommended that you take a backup of your GoldMine database, and perform a repack and rebuild for DBase systems to ensure that the records are deleted.