Today I found myself once again in the process of adding a small lookup table with only 3 values, as shown below:
Fields:
PK_Importance (Autonumber)
tx_Importance (Text,10)
Values:
1 - High
2 - Medium
3 - Low
I will then use the table as recordsource for a combobox bound to ID_Importance in my main table, and use it in reports by joining on ID_Importance=P K_Importance to bring in the tx_Importance into my recordset.
I just stopped today, and wondered if this is the best way to do it. I realise this to some degree depends on whether or not the table values are expected to be changed or more values added, as well as the number of initial values.
I personally find this system quite easy to maintain, and should I ever need to add in an extra value its easy as pies. However a thing I was wondering is whether this approach has performance issues when running reports, where the join is used.
This was a bit unstructured I realise, basicly just me wanting to start a discussion on a subject in which there is many different equally valid ways to progress. How do you guys do it?
Do you use a value list? If so, why?
Do you skip the ID field (PK_Importance) and simply directly use and store the value field? If so, why?
Fields:
PK_Importance (Autonumber)
tx_Importance (Text,10)
Values:
1 - High
2 - Medium
3 - Low
I will then use the table as recordsource for a combobox bound to ID_Importance in my main table, and use it in reports by joining on ID_Importance=P K_Importance to bring in the tx_Importance into my recordset.
I just stopped today, and wondered if this is the best way to do it. I realise this to some degree depends on whether or not the table values are expected to be changed or more values added, as well as the number of initial values.
I personally find this system quite easy to maintain, and should I ever need to add in an extra value its easy as pies. However a thing I was wondering is whether this approach has performance issues when running reports, where the join is used.
This was a bit unstructured I realise, basicly just me wanting to start a discussion on a subject in which there is many different equally valid ways to progress. How do you guys do it?
Do you use a value list? If so, why?
Do you skip the ID field (PK_Importance) and simply directly use and store the value field? If so, why?
Comment