pbDDAttach - BaseData_Set
Detemines if an Attach is limited to the current DDO Structure
Type: Property
Access: Read/Write
Data Type: Boolean
Parameters: None
Syntax
Property Boolean pbDDAttach
| Access Type | Syntax |
|---|---|
| Read Access: | Get pbDDAttach to BooleanVariable |
| Write Access: | Set pbDDAttach to BooleanVariable/Value |
Description
Legacy Property
This is considered a legacy property.
pbDDAttach determines how the procedure Attach_Main_File will attach related parent fields into the main table. When True, the default, the attaches only occur when the parent file is actually part of the current DDO structure. When False, all open parent files are attached.
Default: True
You normally never want non-attached parent tables to attach their data into a main-table and therefore you will rarely ever want to change this property. Older versions of the DataDictionary class did not limit their attaches to DDOs within the structure. This property was created to provide support for this old syle usage. Before changing this property, check your code to see if this can be handled in a better way such as actually adding the parent DDO to your structure.