H
Harold via AccessMonster.com
Hi, I'm building a database to help track fire sprinkler systems that are out
of service for repairs. I'm just starting and I want to make sure I get the
tables and primary keys correct before I go too far. This is what I have so
far:
tblAddress [AddressID] [StreetNumber] [Direction] [StreetName] 'AddressID
being the primary key
tblBusiness [BusinessName] [ContactName] [ContactPhone]
tblEvent [DateTimeOS] [DateTimeIS] [ReasonOS] [CalledOSBy] [EstTimeTillBackIS]
[Notes] [EventID]
OS and IS stand for out of service and In service. I'm not sure what to use
as a primary key for tblBusiness because there may be several businesses at
the same address and several businesses can have the same name. Should I just
make a BusinessID field for the primary key? Also, should I just include
AddressID in all tables to link them?
Thank you for any help you can give me.
Harold
of service for repairs. I'm just starting and I want to make sure I get the
tables and primary keys correct before I go too far. This is what I have so
far:
tblAddress [AddressID] [StreetNumber] [Direction] [StreetName] 'AddressID
being the primary key
tblBusiness [BusinessName] [ContactName] [ContactPhone]
tblEvent [DateTimeOS] [DateTimeIS] [ReasonOS] [CalledOSBy] [EstTimeTillBackIS]
[Notes] [EventID]
OS and IS stand for out of service and In service. I'm not sure what to use
as a primary key for tblBusiness because there may be several businesses at
the same address and several businesses can have the same name. Should I just
make a BusinessID field for the primary key? Also, should I just include
AddressID in all tables to link them?
Thank you for any help you can give me.
Harold