Archibus Smart Client

Editing Validated Data in Grid Views

In a project database, database tables may contain validated fields—fields that must be completed with values that already exist in another database table (a validating table). When completing these fields, you can only choose from a list of existing values that are stored in another database table. Validated fields help maintain data integrity by ensuring that you enter appropriate values for database fields.

For example, the project database can contain a Rooms table and a Divisions table, and the Rooms table can contain a Division Code field, which assigns each room to a division. When you complete the Division Code field for a Room record, Archibus checks that the value you enter for Division Code is an existing value in the Divisions table.

Smart Client grid views display the values of a table's validated fields in blue. When working with a table that already has records, you can easily tell which fields are validated because Archibus displays their values in blue. When you complete a validated field, the field presents a selection list of the validated values-- the values that exist in the database table.

If needed, you can filter the Select Values list by typing in the filter row.

The following image shows the select values list for the Building Code field.

Select Values list for the Buildiong Code field

How the Select Values List Works

The Select Values dialog is designed to reduce errors and to facilitate data entry. It does this by restricting the list to show only values that are related to your previous selections:

Owner Keys
  • The Select Values list fills in the “owner” keys from values you have already selected for the record. For example, if you are editing the Employees table, and you have filled in the Building Code value, and then you use the Select Values list for the Floor Code field --- then Select Values presents only those Floors that belong to that Building.
  • Needed Key Parts The Select Values list presents all missing key parts. For example, suppose you are editing the Employees table, have filled in the Building Code value, but not the Floor Code or Room Code values. Now if you invoke Select Values on the Room Code field, the Select Values dialog presents only the Floors and Rooms fields for the selected Building.
    Selected Keys The Select Values list fills in all selected key parts. In the example above, if you select a Room, the Select Values action fills in both the Floor and Rooms values.

    Completing Validated Fields

    1. Move the cursor to the validated field's cell and double-click the arrow.  
    2. Archibus presents a list of the records in the validating table.
      • For each record, it lists the identifying primary key and a descriptive field.
      • If needed, you can use the filter row to restrict the list to show only selections matching the criterion you enter. As you type in the Filter row the screen refreshes to show only records matching your entry.
    3. Select the appropriate value by clicking on it.  
      • The grid appears showing the selected value in the field.
    4. Press TAB to move off the validated field and to the grid's next cell.

    See Also

    Editing Data and Saving Changes