English

How To: Add field names to the list of default field names recognized by Theme Properties Geocoding dialog box

Summary

When you invoke the Theme Properties Geocoding dialog box, it automatically searches the theme table for field names that match a list of defaults. For example, your streets database theme has a field named L-F-ADD; ArcView will automatically set the LeftFrom dropdown list to the L-F-ADD field. You can add field names to the list of defaults by editing the Addstyle.db file.

Procedure

The following procedure adds the field name Left_From to the list of defaults.

  1. Open the Addstyle.db file in a text editor, such as Notepad or Wordpad. This file is located under ..\esri\av_gis30\arcview\geocode.
  2. Search for the string LeftFrom. You should fine an entry like this:

    (MField.6
    FieldName: "LeftFrom"
    StartPos: 1
    Width: 10
    Required: 1
    Justification: 2
    PreferredFieldNames: "L-F-ADD L_F_ADD LEFTADD1 L-ADD.FROM L-ADD_FROM L_ADD_FROM
    L_ADD.FROM L-ADD-FROM L_ADD-FROM LADD.FROM LADD_FROM LADD-FROM LADD.FR LADD_FR LADD-FR LFROM
    FRADDL FROMLEFT ADLF"
    )

  3. Add the new field name to the PreferredFieldNames list. Notice the new field name at the end of string in the PreferredFieldNames string:

    (MField.6
    FieldName: "LeftFrom"
    StartPos: 1
    Width: 10
    Required: 1
    Justification: 2
    PreferredFieldNames: "L-F-ADD L_F_ADD LEFTADD1 L-ADD.FROM L-ADD_FROM L_ADD_FROM
    L_ADD.FROM L-ADD-FROM L_ADD-FROM LADD.FROM LADD_FROM LADD-FROM LADD.FR LADD_FR LADD-FR LFROM
    FRADDL FROMLEFT ADLF LEFT_FROM"
    )

  4. Save the changes to the file and exit.

    Note:
    The file contains separate entries for each geocoding style. Repeat these steps until you add the new field name to each style entry.