
Originally Posted by
jzwp11
If you consider that an asset is a combination of various types of items (cpu, processor, OS, etc.) that would lead you to a completely different table structure
tblAssets
-pkAssetID primary key, autonumber
-fkAssetTypeID foreign key to tblAssetTypes -TagNumber
tblAssetTypes (laptop, server, workstation etc. each as a record in this table)
-pkAssetTypeID primary key, autonumber
-txtAssetTypeName
tblItemType (CPU, OS, processor etc.)
-pkItemTypeID primary key, autonumber
-txtItemTypeName
tblManufacturers
-pkManID primary key, autonumber
-txtManufacturerName
A manufacturer can produce many items
tblManufacturerItems
-pkManItemID primary key, autonumber
-fkManID foreign key to tblManufacturers
-fkItemTypeID foreign key to tblItemTypes
-txtModelName
-txtModelNumber
Now an asset consists of many items
tblAssetItems
-pkAssetItemID primary key, autonumber
-fkAssetID foreign key to tblAssets
-fkManItemID foreign key to tblManufacturerItems
-txtSerialNumber
Now you have many events that take place with an asset (buy, service, discard)
tblAssetEvents
-pkAssetEventID primary key, autonumber
-fkAssetID foreign key to tblAssets
-fkEventTypeID foreign key to a table that holds events such as buy, service discard
-dteEvent (date of the event)
-txtDetail (a field to hold detail so what was done)