8. Generating Frames from Predefined Templates : The mastdetl Templates : The detail Template : Create a Detail Frame
 
Share this page                  
Create a Detail Frame
You can create a detail frame using the detail frame template.
To create a frame using the detail frame template
1. On the Develop tab, select the application in which you want to create the frame in the Applications portlet, and then select the header bar of the Components portlet to make it active.
2. Click File, New, User Frame.
The Create User Frame dialog appears.
3. Enter the component name in the Name field (for example, My_Detail_Frame).
4. (Optional) Enter a comment for the component in the Remark field.
5. Select mastdetl from the Application list and the detail template from the Template list.
6. Click Create.
The Select a Parent Frame dialog appears.
7. Specify the detail frame's parent frame by selecting an application and a frame from the Application and Frame list fields, respectively, and then click OK.
The Select Database Object dialog appears.
8. Enter the name of a detail table in the Detail field of this dialog.
For more information about using the control button to the right of the entry field to specify a table, see Table Selection Dialog.
9. Click OK.
The Frame Assistant appears.
10. Click the join icon in the query display area.
11. Before generating the detail frame, you must define one or more join columns between the two tables. Then click Insert to create a join.
A line is drawn between the two columns indicating the join.
For more information, see How You Can Define Join Column Properties.
12. Using the Frame Assistant, you can optionally specify additional tables, including lookup or associate tables. You can also select query expressions, query properties, and display properties for result columns.
For more information, see:
How You Can Set Query Expressions
How You Can Set Query Properties
How You Can Set Display Properties
Add Additional Tables to a Generated Frame
13. Click Generate.
The detail frame is created and displayed in the Frame Editor.
Note:  An Open Row and an Open List button are provided in the detail section of the frame in the Frame Editor. They will appear in the running frame only if the detail frame is selected as the parent frame for either an explosion or a detail frame (see Create an Explosion Frame (see Create an Explosion Frame)).
14. (Optional) Specify the frame's properties using the Property Inspector. For example, set the IsResizeable property to TRUE.
For more information about using the Property Inspector, see Set Frame Properties (see Set Frame Properties).