ElVicioso
09-21-2005, 12:54 PM
Hi there, long-time lurker, first-time poster.
I'm working on an Access project at work, and I was hoping I could get some pointers/tips on my data modeling. Basically, attorney information is being kept on an Excel spreadsheet, and I ported it over to an Access database. About half of the firms have a contact attorney, the other half doesn't, but regardless of attorneys there is still data for each firm.
In many cases, one firm can have multiple locations across the United States. Also, there are unique records that pertain to a firm that are spread out across each of their locations, and there is also information that is unique to each individual location within the same firm entity.
Here are my tables:
tblGlobalFirmAttributes
FirmID
Firm
FirmURL
TINNumber
CurrentFeeAgreement
FirmSpecialty
FirmStatus
tblFirmLocationAttributes
FirmID
LocID
Address1
Address2
City
State
Zip
Fax
Phone
tblAttorneyAttributes
AttorneyKey
LocID
Title
FirstName
MiddleName
LastName
Surname
AttorneyStatus
AttorneySpecialty
AttorneyRate
AttorneyPreviousRate
EmailAddress
MobileNumber
AttorneyNotes
My thought process is the following. Each attorney has a location ID, pertaining to a location in tblFirmLocationAttributes (LocID). There is a FirmID key in tblFirmLocationAttributes that connects a location to the firm it belongs to, which is done via the FirmID key in tblGlobalFirmAttributes. Many attorneys can work in the same location, and there can be many locations that pertain to the same firm, and I set up my relationships accordingly.
Attached is a picture showing my relationships. If you guys can offer some tips and/or advice, it would be greatly appreciated! This is my first time using Access extensively, so i'm all ears for suggestions/constructive criticism. Thanks!
I'm working on an Access project at work, and I was hoping I could get some pointers/tips on my data modeling. Basically, attorney information is being kept on an Excel spreadsheet, and I ported it over to an Access database. About half of the firms have a contact attorney, the other half doesn't, but regardless of attorneys there is still data for each firm.
In many cases, one firm can have multiple locations across the United States. Also, there are unique records that pertain to a firm that are spread out across each of their locations, and there is also information that is unique to each individual location within the same firm entity.
Here are my tables:
tblGlobalFirmAttributes
FirmID
Firm
FirmURL
TINNumber
CurrentFeeAgreement
FirmSpecialty
FirmStatus
tblFirmLocationAttributes
FirmID
LocID
Address1
Address2
City
State
Zip
Fax
Phone
tblAttorneyAttributes
AttorneyKey
LocID
Title
FirstName
MiddleName
LastName
Surname
AttorneyStatus
AttorneySpecialty
AttorneyRate
AttorneyPreviousRate
EmailAddress
MobileNumber
AttorneyNotes
My thought process is the following. Each attorney has a location ID, pertaining to a location in tblFirmLocationAttributes (LocID). There is a FirmID key in tblFirmLocationAttributes that connects a location to the firm it belongs to, which is done via the FirmID key in tblGlobalFirmAttributes. Many attorneys can work in the same location, and there can be many locations that pertain to the same firm, and I set up my relationships accordingly.
Attached is a picture showing my relationships. If you guys can offer some tips and/or advice, it would be greatly appreciated! This is my first time using Access extensively, so i'm all ears for suggestions/constructive criticism. Thanks!