About Keynote Database Schema

To create or modify a keynote database by using Microsoft® Access (rather than using the Keynote Editor), you need to be familiar with the database schema used in AutoCAD Architecture 2022 toolset.

A keynote database contains four tables:

Fingerprint Table

The Fingerprint table uniquely identifies a keynote database and contains the following fields:

Groups Table

The Groups table defines the hierarchical organization of keynotes within the database. This hierarchy determines the order in which divisions, groups, subgroups and individual keynotes are displayed in the Keynote Editor, the Select Keynote dialog box, and keynote legends. The following fields apply to each row in the table:

Keynotes Table

This table defines the individual keynotes for all the groups identified in the Groups table. The following fields are included:

KeySort Table

This table contains key sort masks that represent the different key patterns used in the database. The order in which the masks are listed in this table determines the order in which key patterns are listed in the Keynote Editor, the Select Keynote dialog box, and keynote legends; that is, all keynotes with keys using the pattern identified by the mask in record 1 are listed before keynotes with key patterns identified by subsequent records in the table. The illustration above shows the key sort mask for the AecKeynotes database provided with AutoCAD Architecture 2022 toolset. The following conventions are used for key sort masks:

Examples of keys using the pattern defined by the [#####]{.}[?][#...#] mask in the illustration above would include 03250.A1, 07250.B102, and 09250.C1007.

You can also specify key sort masks using the Keynote Editor.