The RadioButtons edit style

If a column can take one of a small number of values, you might want to display the column as radio buttons:

The sample shows the word Status : on a gray rectangle. To its right are three round buttons grouped in a white rectangle. From top to bottom, they are labeled Active, On leave, and Terminated. The center of the Active button is filled in with black.

StepsTo use the RadioButtons edit style:

  1. In the Edit property page, select RadioButtons in the Style Type drop-down list and specify properties for that style.

  2. Specify how many radio buttons will display in the Columns Across box.

  3. Enter a set of display and data values for each button you want to display.

    The display values you enter become the text of the buttons; the data values are put in the DataWindow buffer when the button is clicked.

    NoteUsing accelerator keys To use an accelerator key on a radio button, enter an ampersand (&) in the Display Value before the letter that will be the accelerator key.

What happens

Users select values by clicking a radio button. When the Update method is issued, the data values are sent to the database.