Help: Using the Data Table wizard |
To define the new class and its properties, complete the Data Table wizard form:
Single Value
or Value List
. A data table is required to have at a unique key. There must be at least one column that has Key selected. When you first open the Data Table wizard, the system creates a text property with a label of ID
, and sets it as the unique key to the data table. You can modify this column before generating your new data table.
The system automatically includes a column named pyLabel in your data table. This is a required column.
From the summary, you can click the List Editor link to use the Data Table editor to add data instances (rows) for the new data table; otherwise, click Close to return to Designer Studio.
Class Name |
Enter the name for a new concrete class. By convention, classes used with the Data Table editor are derived by pattern inheritance from the Data- top-level class. |
Description |
Enter a text description of this class. |
Derives From |
Identify the parent class, typically Data- or a class derived from Data-. |
Create Data Pages? | Select to cause the wizard to automatically create data pages for this data table. Use the following two fields to name the created pages. |
Lookup Data Page | If the above checkbox is checked, enter here a name for the page-structure data page the wizard creates with a lookup data source defined directly against the data table class. The name must begin with "D_" or "Declare_". |
List Data Page | If the above checkbox is checked, enter here a name for the list-structure data page the wizard creates with a report definition data source defined directly against the data table class. The name must begin with "D_" or "Declare_". |
Create Dedicated Database Table |
Select to cause the wizard to associate a new database table (named pr_zzzzz, where zzzzz is the value you entered in the You must hold the @baseclass.SchemaTableCreation privilege to directly update the database schema by creating a new table. In addition, the production level must be 1 or 2. |
Key |
Select to indicate that this property is part of the definition of the unique key to the class. There must be at least one property that has Key selected. |
Name |
Enter a property name. Start with a letter and use only letters, digits, and the dash character. You cannot create property names that start with px, py, or pz. |
Label |
Enter a description of this property. |
Type |
Choose a property type (for example, |
Mode |
Choose either |
Validation Class |
Optional. If the allowable values of this property are defined by the key values of another class that has a single key part, identify that class here. |
Exp. Size |
Optional. Enter an expected width in characters for the property value. |
Max Size |
Optional. Enter a maximum width in characters for the property value. |
Required |
Click to require that this property have a non-blank value. |
RuleSet |
Identify the RuleSet for the classes, properties, and other rules that support the Data Table. |
Version |
Identify the version of the RuleSet. |
If you add a property (column) to a previously created data table, you must open and update the associated list rule (Rule-Obj-List rule type) to have the new property available to the Data Table editor.