Display the referenced model in the radio button format. You can select one value.
Prepare the district model in advance as shown in Fig. 1.
Figure 2 shows an example screen that selects the value of this district model with a radio button. You can select the name of the referenced model "district" from the radio button.
In the customer model shown in Figure 2, the type of the district item is referred to as "item reference of another model".(Figure 3)
In the detailed type setting, the reference destination model is set to "district", and the item of the reference destination model which is the option of the radio button is "district name". Select "radio button" as input type.
You can specify the initial value of the radio button.We will explain an example of making "Hokkaido" selected for the radio button when opening the new registration screen of customer model.
Check the value of the primary key (here, the district ID) of the target data.(FIG. 5)
When you open the new customer model registration screen, you can see that the data in Figure 5 is selected as the initial value.(FIG. 6)
Specify the primary key of the target data.
Radio buttons are designed to display four choices per line by default.
If you specify this as wrapping every eight times it will be displayed as shown in Figure 4.
From the Input Control tab of the Model Item Detailed Definition dialog box, specify the number of checkbox/radio button wraps in the model reference.When it is blank it is interpreted as "4".
You can change the input type of the registration/update screen and search screen.
By default, radio button items are treated as list boxes on the search screen.
On the detail screen, only the selected item is displayed.This is the standard behavior.
If you set the item name which was not selected, it will be as follows.
Activate the "Display unselected item names" setting that is provided for options in the model item type detail setting dialog.
If the reference data has been deleted, "Detailed data" will be displayed on the detail display screen.
The reference key item of the reference source model ("estimate" model in the above example) holds the ID value of the reference destination model.It is not a content part.A state that none of them is selected is NULL.