I’m creating an Asset Inventory (using MS Access for now) and have settled on the following design (please note there are other tables and fields involved but I’ve omitted them for readability):
Assets Table:
------------
AssetID (PK)
AssetType
Tag
Make
Model
Serial
etc.
Computers Table:
----------------
ComputerID (PK)
AssetID (FK)
MAC
Hostname
etc.
Monitors Table:
--------------
MonitorID (PK)
AssetID (FK)
Type
Size
The Computers and Monitors tables are in a one-to-one relationship (linked by AssetID) with the "master" Assets table. My reason for this is it makes for a clearer layout and avoids a huge main "Assets" table with redundant fields.
I'd like to have a link between a computer and its attached monitor (some of our computers have multiple displays).
I've tried a few different methods but without success, can anyone come up with a solution?
Thanks very much.
Assets Table:
------------
AssetID (PK)
AssetType
Tag
Make
Model
Serial
etc.
Computers Table:
----------------
ComputerID (PK)
AssetID (FK)
MAC
Hostname
etc.
Monitors Table:
--------------
MonitorID (PK)
AssetID (FK)
Type
Size
The Computers and Monitors tables are in a one-to-one relationship (linked by AssetID) with the "master" Assets table. My reason for this is it makes for a clearer layout and avoids a huge main "Assets" table with redundant fields.
I'd like to have a link between a computer and its attached monitor (some of our computers have multiple displays).
I've tried a few different methods but without success, can anyone come up with a solution?
Thanks very much.