H
hansjhamm
I have sort of asked this awhile back and was pulled onto other
projects...
Our company utilizes PDA's, modems, laptops, cell phones for the field
employees and managers that we need to record.
Each type of equipment has different data(fields) that will need to be
recorded; example a cell phone will have the phone #, and radio #, but
a PDA would not have this data entered since it does not pertain to
that unit. There are a few equipment items that would only include the
ID, EmpID and EquipmentID as these do not have specific data that
needs to be recorded like a laptop would need to be recorded.
The layout of the table to store the equipment data would be laid out
like this:
ID auto PK
EmpID FK from employees table
EquipmentID FK from equipment type table
(then fields that the user would fill out such as)
ModelNumber (All Equip)
SerialNumber (Select Equip)
IMEI (Phone Only)
SIM (Phone Only)
PhoneNumber (Phone Only)
RadioNumber (Phone Only)
Mfg (All Equip)
ServiceTag (Laptop Only)
WinID (Laptop Only)
OfficeID (Laptop Only)
If I create a table "Equipment" inserting the data as described above
am I going to get into trouble later based on the cell phone/PDA
example?
I am having a problem getting this table set up so that it will be
correct and not lead to issues later.
Thanks,
Hans
projects...
Our company utilizes PDA's, modems, laptops, cell phones for the field
employees and managers that we need to record.
Each type of equipment has different data(fields) that will need to be
recorded; example a cell phone will have the phone #, and radio #, but
a PDA would not have this data entered since it does not pertain to
that unit. There are a few equipment items that would only include the
ID, EmpID and EquipmentID as these do not have specific data that
needs to be recorded like a laptop would need to be recorded.
The layout of the table to store the equipment data would be laid out
like this:
ID auto PK
EmpID FK from employees table
EquipmentID FK from equipment type table
(then fields that the user would fill out such as)
ModelNumber (All Equip)
SerialNumber (Select Equip)
IMEI (Phone Only)
SIM (Phone Only)
PhoneNumber (Phone Only)
RadioNumber (Phone Only)
Mfg (All Equip)
ServiceTag (Laptop Only)
WinID (Laptop Only)
OfficeID (Laptop Only)
If I create a table "Equipment" inserting the data as described above
am I going to get into trouble later based on the cell phone/PDA
example?
I am having a problem getting this table set up so that it will be
correct and not lead to issues later.
Thanks,
Hans