Find Domain Reference



Description:

It is sometimes cumbersome to find all the references to a particular domain. When trying to delete domains you can get a message that says the domain is in use, but nothing that tells you which object class and field. This tool is designed to search all fields and subtypes for references to the specified domain. All the references are then listed out for review.

Once the references are found, there are also options for removing the references as required.
Products:
ArcEditor: VB6

Platforms: Windows

Requires: Geodatabase with domains

Minimum ArcGIS Release: 9.0

How to use:
  1. Register the DomainFinderPrj.dll file.
  2. Start ArcCatalog.
  3. From the Customize dialog, select the Add From File button and browse to DomainFinderPrj.dll file. Add the new button to an existing toolbar.
  4. Select the Find Domain button to bring up the dialog.
  5. Select a domain from the dropdown list and all the references for that domain will be displayed in the grid. A subtype of "none" indicates the domain is set at the field level.
  6. Use the Remove All and Remove Selected buttons to remove references to a domain.

Download the VB6 files
frmDomainFinder.frm Form for displaying the places a domain is referenced.
DomainFinder.cls Class containing the command code to call the form.
DomainFinderPrj.vbp The project file for the Find Domain Reference command.

Download the files for all languages



Key CoClasses:CodedValueDomain, Field, ObjectClass, RangeDomain
Key Interfaces: IDomain, IField, ISubtypes
Key Members:IDomain::Name, IField::Domain, ISubtypes::Domain