Specifications
Defining edit styles
276 InfoMaker
In the preceding example, when you see the value Business Services, the
corresponding data value could be 200.
❖ To use the DropDownListBox edit style:
1 Select DropDownListBox from the Style Type list.
2 Select the appropriate properties.
3 Enter the value you want to have appear in the Display Value box and the
corresponding data value in the Data Value box.
For more about code tables, see “Defining a code table” on page 284.
The CheckBox edit style
If a column can take only one of two (or perhaps three) values, you might want
to display the column as a check box; you can select or clear the check box to
specify a value. In the following entry from a form, you can simply check or
clear a box to indicate whether an employee has health insurance:
❖ To use the CheckBox edit style:
1 Select CheckBox from the Style Type list and specify properties for that
style.
2 In the Text box, enter the text you want displayed next to the check box.
Using accelerator keys
If the CheckBox has an accelerator key, enter an ampersand (&) before the
letter in the text that represents the accelerator key.
3 In the Data Value For boxes, enter the values you want to store in the
database when the CheckBox is checked (on) or unchecked (off).
If you selected the 3 States box, an optional third state box (other) appears,
for the case when the condition is neither on nor off.
What happens
The value you enter in the Text box becomes the display value, and values
entered for On, Off, and Other become the data values.
When you check or clear the check box to modify the data, InfoMaker enters
the appropriate data value in its buffer. When you save your changes,
InfoMaker sends the corresponding data values to the database.