Forum Discussion
_anomDiebolt_
8 years agoQrew Elite
States And Regions ~ Add New Record
https://haversineconsulting.quickbase.com/db/bm6zr9qak?a=nwr
Pastie Database
https://haversineconsulting.quickbase.com/db/bgcwm2m4g?a=dr&rid=609
Notes:
(1) The States and Regions are unlikely to change short of a new government forming or a change in your Sales Regions so there may not be any good reason to store the State or Region data in one or more related tables. Doing so will just crowd up your application with superfluous fields and tables.
(2) Using table relationships would coerce historic data to map to new states or regions when this probably is not the desired behavior.
(3) This is a very generic solution that can be adopted to any type of lookup scenario.
https://haversineconsulting.quickbase.com/db/bm6zr9qak?a=nwr
Pastie Database
https://haversineconsulting.quickbase.com/db/bgcwm2m4g?a=dr&rid=609
Notes:
(1) The States and Regions are unlikely to change short of a new government forming or a change in your Sales Regions so there may not be any good reason to store the State or Region data in one or more related tables. Doing so will just crowd up your application with superfluous fields and tables.
(2) Using table relationships would coerce historic data to map to new states or regions when this probably is not the desired behavior.
(3) This is a very generic solution that can be adopted to any type of lookup scenario.
_anomDiebolt_
8 years agoQrew Elite
> get the functionality using the fewest number of tables and fields.
Fewer and shorter are generally better goals.
Let's conceive of a metric called "noise ratio" which is defined as say the total number of fields in a table divided by the number of raw information bearing fields in a table. Using (1) summary fields, (2) lookup fields, (3) formula URLs and (4) the creation of extra tables just increases the noise ratio. It may not be a problem for the native implementation of any one particular feature in a table but over time hundreds of new fields get created that only inflate the noise ratio. I have seen client applications with dozens of fields that don't even get used but nobody dares delete them for fear the field may brake something if deleted.
>just have an IF or Case statement to hard code a formula to map the states to the sales territories.
As to your second point, if you use a formula what happens when the regions change their definition over time. If you use a formula the historic region associated with the state will change.
Fewer and shorter are generally better goals.
Let's conceive of a metric called "noise ratio" which is defined as say the total number of fields in a table divided by the number of raw information bearing fields in a table. Using (1) summary fields, (2) lookup fields, (3) formula URLs and (4) the creation of extra tables just increases the noise ratio. It may not be a problem for the native implementation of any one particular feature in a table but over time hundreds of new fields get created that only inflate the noise ratio. I have seen client applications with dozens of fields that don't even get used but nobody dares delete them for fear the field may brake something if deleted.
>just have an IF or Case statement to hard code a formula to map the states to the sales territories.
As to your second point, if you use a formula what happens when the regions change their definition over time. If you use a formula the historic region associated with the state will change.