The following table defines redirection information:
|
Attribute of TB_GN_INFO_REDIRECT |
Description |
|
ID |
Stores the unique key, which is system-generated. |
|
F_TABLE_NAME |
Specifies the feature class that is selected in the map. |
|
DIALOG_TABLE_NAME |
Specifies the name of the form that is opened instead of the feature class form. |
|
F_COLUMN_NAME |
Specifies an attribute of the feature that is selected in the map. |
|
DIALOG_COLUMN_NAME |
Specifies an attribute of the form to be opened that is related to F_COLUMN_NAME. |
|
INFO_FILTER |
Specifies a complex filter, for example, if you have relations between more than one table. |
|
DIALOG_DOCUMENT_NAME |
Opens a form in another industry model. If the industry model is not found in the currently open project , the system searches all open industry models and opens the first form it finds. |
In the following cases, a redirection definition in the TB_GN_INFO_REDIRECT table is not necessary:
Example 1: To click a manhole but show the section form, set the following values:
|
Attribute |
Value |
|
F_TABLE_NAME |
MANHOLE |
|
F_COLUMN_NAME |
FID_SECTION |
|
DIALOG_TABLE_NAME |
SECTION |
|
DIALOG_COLUMN_NAME |
FID |
Example 2 shows the use of INFO_FILTER:
|
Attribute |
Value |
|
F_TABLE_NAME |
Specify the name of the feature class that is selected in the map. |
|
F_COLUMN_NAME |
(leave this blank) |
|
DIALOG_TABLE_NAME |
Specifies the name of the form to open instead of the feature class form |
|
DIALOG_COLUMN_NAME |
(leave this blank) |
|
INFO_FILTER |
FID in (select FID_PARENT from PARCEL_TBL where {Fids}) |
The word {Fids} is replaced with the FIDs of the graphic. The whole expression is set as a filter on the form to open.