DDO Structure Editor Context Menu
Add DDO
Use this option to add data dictionary objects to your structure. Often, this will be the only option you need to select. This activates a dialog for selecting the data dictionary objects you want to add.
Only data dictionaries that are not already selected for the current component will be shown. When you select a DDO, that DDO and its entire set of parent DDOs will be added to the DDO structure.
When a DDO is added to a structure, all DDO-to-DDO server connections are automatically made (this is represented in your code with Set DDO_Server statements). In addition, child-to-parent constraints are assigned based on the structure’s main DD. This is represented in your code as the Set Constrain_File statement.
A main DDO is automatically selected for the current DDO structure.
The best way to build a DDO structure is to first select the data dictionary to be the main DDO. This will add this table and all parent data dictionaries to your structure. Next, you should add any required child DDOs. If this order is followed, the Add DDO button should be the only button you need to select in this panel.
Add/Change Constraint
This option lets you create or clear a child-to-parent constraint. Select the child-table DDO in the tree view list and select this option. This activates the DDO Selector dialog. A list of all DDOs will be presented. Select the option to clear the constraints for the highlighted table.
For more information regarding constraints, see: Constraints and Filters.
Important: You will normally never use this option. It is provided to give you complete control over your DDO structure. This lets you create any type of structure you want, including invalid ones. If you use this option, you should be careful. The Studio is no longer helping you.
Set this DDO as Main DD
This option lets you select the main DDO for a component. Every component that has a data dictionary structure should have a main DDO. Select the table DDO that you wish to make the main DDO and select this option.
When a main DDO is assigned, the parent/child constraints in the DDO structure are reassigned around the main DDO. This is a desired behavior because one of the main purposes of setting the main DDO is to properly assign constraints.
If you need to create custom child/parent constraints in your structure, you must first set the main DDO and then set the custom constraints.
Remove Main DD
This option lets you remove the Main DDO setting for your DDO structure. Select the main table DDO in your structure then choose this option.
Important: You will normally never use this option. It is provided to give you complete control over your DDO structure. This lets you create any type of structure you want, including invalid ones. If you use this option, you should be careful. The Studio is no longer helping you.
Set all Constraints based on Main DD
This option analyzes the current DDO structure and constrains all child DDOs of the structure's main DDO, i.e., constrains all DDOs whose DDO Server is the Main DDO.
For more information regarding constraints, see: Constraints and Filters.
Analyze Component
This option analyzes the component and sets all client objects of the DDO Structure so that the structure's main DDO is the DDO that is the clients' data server.
Change DDO Class…
Use this option to change the data dictionary class of the selected object in the data dictionary object structure. You can use this option when the table associated with this data dictionary object has more than one data dictionary class associated with it. The Table Explorer can be used to view the data dictionary class(es) associated with each table in your database.
Delete DDO
You may remove any DDO by selecting the DDO in the tree view and choosing this option. This will remove only the selected DDO. After doing this, you may no longer have a DDO structure that is properly connected.
Important: You will normally never use this option. It is provided to give you complete control over your DDO structure. This lets you create any type of structure you want, including invalid ones. If you use this option, you should be careful. The Studio is no longer helping you.
Delete Entire DDO Structure
Removes all data dictionary objects from the structure.
Add a new Parent DDO relationship
You may manually connect a child-table DDO to a parent-table DDO using this option. Select the child-table DDO in the tree view and choose this option. This activates the DDO Selector dialog. A list of all DDOs in the structure will be presented. Select the desired parent DDO from the list.
For more information, see: DDO Structures.
Important: You will normally never use this option. It is provided to give you complete control over your DDO structure. This lets you create any type of structure you want, including invalid ones. If you use this option, you should be careful. The Studio is no longer helping you.
Delete Relationship
A DDO-to-DDO connection may be removed by selecting this button. Select the DDO server in the tree view and choose this option.
Important: You will normally never use this option. It is provided to give you complete control over your DDO structure. This lets you create any type of structure you want, including invalid ones. If you use this option, you should be careful. The Studio is no longer helping you.
Select in Code Explorer
Selects the highlighted DDO in the Code Explorer and moves the editor cursor to the first line of the data dictionary object declaration in source code.
Open in DD Modeler
Use this option to open the selected data dictionary object's class in the Studio's Data Dictionary Modeler.
Open in Table Editor
Use this option to open the table associated with the selected data dictionary object in the Studio's Table Editor.