Creating a parameter form
Parameter forms show settings grouped into field groups and tabs using a table of contents style form. They are also used to show the number sequences set up for that module. Number sequences are covered in Chapter 4, Application Extensibility, Form Code-Behind, and Frameworks. We are following our vehicle management sample solution, but this pattern can be applied to any parameter table.
How to do it...
To create the parameter form, follow these steps:
- Drag the
ConWHSVehicleParameters
table from the project onto theData Sources
node in the top-left pane of form designer. - Name the form as per the table's name; in this case,
ConWHSVehicleParameters
. - Select
User Interface
from the left-hand pane andForm
from the right-hand pane. - Choose to add a new item to the project.
- Data sources provide additional options of how this table should behave on this form. We don't want the user to be able to delete and create records, so change the following properties to
No
:- Allow Create...