8. Generating Frames from Predefined Templates : The mastdetl Templates : The table_field Template : Create a Table Field Frame
 
Share this page                  
Create a Table Field Frame
You can create a table field frame using the table_field frame template.
To create a frame using the table_field 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_Table_Field).
4. (Optional) Enter a comment for the component in the Remark field.
5. Select mastdetl from the Application list and the table_field template from the Template list.
6. Click Create.
The Select Database Object dialog appears.
7. Enter the name of a primary table in the Table 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.
8. Click OK.
The Frame Assistant appears.
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
9. Click Generate.
The frame is created and displayed in the Frame Editor.
Note:  An Open Row and an Open List button are provided in the Frame Editor. They will appear in a running table field frame only if it is selected as the parent frame for either an explosion or a detail frame (for more information, see Create an Explosion Frame or Create a Detail Frame).
10. (Optional) Specify the frame's properties using the Property Inspector.
For more information about using the Property Inspector, see Set Frame Properties.