This is an old revision of the document!
Buildingblock
The building block wrappes a block component. It can be used to apply headers, footers, partial functions (IFrame-like use) but also to implement a master-detail form.
Use of building-block in a master-detail relationship.
To set it a master-detail relationship, you must apply the building block that will be used as the detail. Also you must provide the database connection the detail block needs to use, and setup a valid master-detail key relationship. In sequence:
- define the building block to be used
- define the master datasource
- define the detail datasource
- setup key field mapping
- setup the connection to be used by the detail (the connection used to design the detail is only used to access the database metadata. All connections used must be setup by the main master)
With this information the read-only fields 'detail data source' and 'keyfields' of the master datasouce will be filled automatically.
Properties
Property | Description | Values |
---|---|---|
BuildingBlock | Specifies the pre defined detail building block to be inserted (detail) | Existing building block |
DetailDataSource | The datasource to connect to from the master | Existing data source in detail building block |
KeyFields | Key field mapping between master and detail | Setup by using property editor |
MasterDataSource | Reference to the master data source | Existing data source on the master form |
Server Events
No additional events.
Client Events
No additional events.