Creating setup forms
This follows a similar pattern to the Parameter form. Using the table in Chapter 2, Data Structures, we know we should use Simple list
or Simple list and Details - List Grid patterns
. Our table has two fields, so we will use the Simple list
form design pattern. This follows the pattern of creating a table of type Group
.
How to do it...
- Choose to add a new item to the project.
- Select
User Interface
from the left-hand pane andForm
from the right-hand pane. - Name the form as per the table's name; in this case,
ConWHSVehicleGroup
. - Drag the
ConWHSVehicleGroup
table from the project onto theData Sources
node of the form designer. - Use the same label as the table for the
Caption
property of theDesign
node. - Set the
Title Data Source
andData Sources
properties to the table name,ConWHSVehicleGroup
. - Apply the
Simple List
pattern toDesign
(right-click and chooseApply Pattern
|Simple List
).
Note
We will use the pattern conformation errors as our to-do list. If we don't conform to the...