I would like to be able to select the make and view only
those models associated with the make.
Well, you now have at least three entities: there are computers, there are
models and there are manufacturers.
One way you could model this is to have the three tables like this:
Manufacturers
( Initial Text(5) PRIMARY KEY // e.g. Dell, HP, COMPQ, etc
FullName Text(32) // obvious
Notes Memo // personal notes about
// helpdesk, reliability etc
)
Models
( ModelID Autonumber
Manufacturer Text(5) FOREIGN KEY REFERENCES Manufacturers
FullName Text(32) // eg Desiderata 5000 or whatever
EquipmentList Memo
etc.
(Manufacturer, ModelID) is a PRIMARY KEY
// so that you can refer to it in the Computers table.
)
Computers
( AccessionNum Autonumber PRIMARY KEY
Manufacturer Text(5)
Model Long Integer
LoanedTo
IPAddress
InstallDate
HasOutlook
etc
(Manufacturer, Model) is a FOREIGN KEY REFERENCES Models
)
The slightly odd thing is with the Models table. Using an autonumber is a
simple and easy way to get a new modelid. In theory, we would be quite
happy having the same ModelID number for models from different
manufactures, in practice the bother of roll-your-own identifiers does not
bring any extra benefits. That is why, unusally, the autonumber is not the
PK for the table. Although it happens to be unique across the whole table,
that's not the uniqueness we are interested in.
If you see what I mean!
Hope that helps
Tim F