D
Daniel
Hi,
I've been trying to figure out a properly normalized and efficient way
to implement a system wherein:
-default values are looked up based on one or more fields. These
should be queried dynamically as they will change.
-it is possible to override these default values
An example:
Voltage is based on motor rating and drive type. However, the user
must be able to specify a different voltage under special
circumstances. The voltage might change if the categories associated
with motor ratings change.
Currently, I include a "voltage_override" field, and use an IIF
statement which determines whether voltage_override is null, but this
is quite slow and the majority of records leave this field empty.
This applies to (currently) about 7 fields, but it will probably apply
to more later.
Thank you,
Daniel
I've been trying to figure out a properly normalized and efficient way
to implement a system wherein:
-default values are looked up based on one or more fields. These
should be queried dynamically as they will change.
-it is possible to override these default values
An example:
Voltage is based on motor rating and drive type. However, the user
must be able to specify a different voltage under special
circumstances. The voltage might change if the categories associated
with motor ratings change.
Currently, I include a "voltage_override" field, and use an IIF
statement which determines whether voltage_override is null, but this
is quite slow and the majority of records leave this field empty.
This applies to (currently) about 7 fields, but it will probably apply
to more later.
Thank you,
Daniel