First, we will create the settings table for the fields that we want to allow defaults for. To do so, follow these steps:
- Create a new table named ConWHSVehicleTableDefaults.
- Locate the Extended data types (EDT) RefFieldName, and RefFieldLabel in the Application Explorer and drag them to the Fields node of the table. Make the RefFieldLabel field read-only.
- Drag the EDT String255 to the Fields node and rename the field to DefaultValueStr. Create a label for Default value, and set the Label property to it.
The pattern for this type of table would normally continue by adding a field for each ...