The complex table drop down field edit type displays a drop down list of unique values from a defined complex table field. This screen field edit type is normally used in a cascade control series, allowing users to drill down through records within the table that have a parent-child relationship.
A cascade is a series of multiple fields all displaying the same complex table. Each cascade field displays a different complex table field. The records displayed in a field are the child records to the selected record in the field before it in the cascade. The parent-child relationship is determined by the structure of the indexes for the complex table being displayed.
The overall behavior of a cascade will force a user to make a selection in the first field in the cascade, which is a top-level parent record in the complex table. The next field in the cascade will not be enabled until this selection is made. At this point, the values listed in the second field will be only those complex table records that are children to the record selected in the first screen field.
This behavior repeats for each field in the cascade. Defining such a cascade requires that the complex table displayed by these fields have the needed parent-child indexes defined. Each cascade screen field must then have a matching child table index at the same level.
As an option to displaying the values of a complex table, this field type can display a complex table search dialog. Within this dialog the records of the complex table will be listed within multiple columns, one for each complex table field. The records displayed in this dialog will be dependent on the selections made in previous fields in the cascade control series. Also as definable behaviors in this dialog are options to specify which indexes to allow a user to search on and the specific complex table fields to display in the list.
This field edit type also supports scanning as input. When this behavior is enabled, the value scanned in must be one that can return a record using the index specified for the screen field.
Both the complex table drop down and complex table list field edit types support cascade behavior. Fields of both types may used in the same cascade series of fields on a given detail screen.
For detail screen fields defined with an edit type of complex table drop down, there are two lists of items shown in the properties view of the Editor. The first is the Search Dialog Indexes tab. Listed in this tab will be one item for each top-level index defined in the complex table the screen field is displaying. For complex table drop down lists the selected search indexes will only affect behavior when the Selection Method attribute is set to “Always Open Dialog with Search.” Each item contains a check box which, when selected, will display that index to the user as one that can be searched on. Those indexes not checked in this list will not be displayed to the user.