P
(PeteCresswell)
We've got tlkpCounty.
Securities have countries (for simplicity... actually securities
have issuers, issuers have company groups and company groups have
countries)
User wanted to be able to report by "Region", so I added
tlkpCountry.RegionID and tlkpRegion.
Now, for instance, country Germany can be in region "Europe".
Works a-ok and seems tb the good-right-and-holy path design-wise.
But now they've decided that sometimes they want to report on
various sub-regions (or sub-categories) within a region.
For instance a report on "Europe" might be broken into "Nordic"
countries, "Mediterranean" countries, and so-forth.
My knee-jerk reaction is to add tlkpCountry.SubRegionID and
tlkpSubregion.
When the user is in "Admin" mode, assigning regions and sub
regions, the country row would have a combo box for "Region" and
a text box for sub-region.
To change region, they would drop the combo box and select.
To change sub region, they would click on the sub region text box
and I'd pop a little dialog with a drop down populated with the
allowable sub regions for the currently-chosen region.
Somehow this sounds kludgy to me.
Can anybody comment on both:
- The data model
- The admin screen approach
Securities have countries (for simplicity... actually securities
have issuers, issuers have company groups and company groups have
countries)
User wanted to be able to report by "Region", so I added
tlkpCountry.RegionID and tlkpRegion.
Now, for instance, country Germany can be in region "Europe".
Works a-ok and seems tb the good-right-and-holy path design-wise.
But now they've decided that sometimes they want to report on
various sub-regions (or sub-categories) within a region.
For instance a report on "Europe" might be broken into "Nordic"
countries, "Mediterranean" countries, and so-forth.
My knee-jerk reaction is to add tlkpCountry.SubRegionID and
tlkpSubregion.
When the user is in "Admin" mode, assigning regions and sub
regions, the country row would have a combo box for "Region" and
a text box for sub-region.
To change region, they would drop the combo box and select.
To change sub region, they would click on the sub region text box
and I'd pop a little dialog with a drop down populated with the
allowable sub regions for the currently-chosen region.
Somehow this sounds kludgy to me.
Can anybody comment on both:
- The data model
- The admin screen approach