C
cjg.groups
While creating my first database, I used lookup tables before I knew
better. However, I can't figure out a way to remove them.
Layout:
static tblCounties - CountyCode, CountyName
static tblMunicipalities - CountyCode, MuniCode, MuniName
data tblOrders - OrderID, Address, City, State, Zip, CountyCode,
MuniCode
tblCounties is related one-to-many to tblMunicipalities on CountyCode.
static tables don't change, data table does change.
The database needs CountyCode, CountyName, MuniCode, and MuniName in
different places. tblOrders stores the two Code fields, but shows
their names (by altering Bound Column, Column Count, and Column
Widths).
On the input form, each combo box shows both Code and Name, storing
only Code. Also, the MuniCode dropdown row source is queries based on
CountyCode.
During output to Word mail merge, both Code and Name fields are used.
The extra INNER JOINs to translate Code to Name are a nuisance, but I
use them.
If I need all the data in these static tables, should I eliminate them?
Are they truly evil "lookup tables"? Or is this how it's done? Thank
you.
better. However, I can't figure out a way to remove them.
Layout:
static tblCounties - CountyCode, CountyName
static tblMunicipalities - CountyCode, MuniCode, MuniName
data tblOrders - OrderID, Address, City, State, Zip, CountyCode,
MuniCode
tblCounties is related one-to-many to tblMunicipalities on CountyCode.
static tables don't change, data table does change.
The database needs CountyCode, CountyName, MuniCode, and MuniName in
different places. tblOrders stores the two Code fields, but shows
their names (by altering Bound Column, Column Count, and Column
Widths).
On the input form, each combo box shows both Code and Name, storing
only Code. Also, the MuniCode dropdown row source is queries based on
CountyCode.
During output to Word mail merge, both Code and Name fields are used.
The extra INNER JOINs to translate Code to Name are a nuisance, but I
use them.
If I need all the data in these static tables, should I eliminate them?
Are they truly evil "lookup tables"? Or is this how it's done? Thank
you.