Checking the integrity of the links

Use the Link Integrity Check wizard to check the integrity of the link records for a database, that is, whether the data held for links is consistent with that held for the entity records at the ends of the links. You should check the integrity of the database schema before you check link integrity.

About this task

The Link Integrity Check wizard reports any problems found with links or the entities they reference and offers to fix those that it can repair. Most repairs are safe and non-destructive, but some repairs might involve removing invalid data. You see a list of proposed repairs and you can abandon repairs so that you can inspect suspect data and perhaps recover it by other means. After repair, you should look at places where the wizard has added entities and links, possibly with blank mandatory fields, and decide how to make these records usable. Eventually, you must repair problems to avoid the possibility of misleading analysis based on faulty data.

Procedure

To use the Link Integrity Check wizard:
  1. Log on to the relevant security file as a database administrator but do not open the database.
  2. In iBase Designer, select Tools > Database Administration > Link Integrity Check.
  3. Select a database from the list and click Next.
  4. Any links where there are problems in one of two required link records are displayed. In a properly functioning database, the list should be empty in this and all following pages. Click Next to display the next page if there are no errors reported:
  5. A list of any repairs that you have requested in previous steps is displayed. Click:
  6. Click Close. The database is opened, whether or not you asked for any repairs.What you do next depends on whether you repaired errors:
  7. Run the wizard again until you see no errors. After two uses with repairs performed, the third use of the wizard should always be error free.