Trace:
Differences
This shows you the differences between two versions of the page.
Next revision Both sides next revision | |||
jvx:client:model:databook:master_detail [2018/02/01 08:19] admin created |
jvx:client:model:databook:master_detail [2018/02/01 08:20] admin |
||
---|---|---|---|
Line 166: | Line 166: | ||
rdbStates, new String[] {"ID"})); | rdbStates, new String[] {"ID"})); | ||
</file> | </file> | ||
- | |||
- | hergestellt. | ||
The master/detail relationship between countries and states is created via the foreign key (STATES.CTRY_ID) to the primary key (COUNTRIES.ID). This means that when a country is selected, all associated states are displayed. States that are not assigned to the selected “master” country are not shown. | The master/detail relationship between countries and states is created via the foreign key (STATES.CTRY_ID) to the primary key (COUNTRIES.ID). This means that when a country is selected, all associated states are displayed. States that are not assigned to the selected “master” country are not shown. |