G
Guest
Thank you, in advance for your help. I need to determine best practices for
establishing relationships between following tables. But first:
I have clients who purchase a house, financed by one of many lending
institutions with many possible contacts and various payment request
schedules my goal is to track and maintain Payment or Draw Information as
needed as explained below.
I need to track the bank and contact info, payment request schedule, phases
in construction, payment information, pymnt. amts., balance to finish, bank
requirements for required documentation and whether we have compiled and
submitted the req. docs., dates for every pymt requition and individual
contact notes. Other data will be added as necessary.
I have the following tables:
tblHomeOwnerInformation
HOAcctNo(pk)-text {combination of lastname & street# }
HOLastName
HOFirstName
JobSiteStreet
JobSiteCity
JobSiteZip
HOResidenceStreet
HOCity
HOState
HOZip
+ other identifying info that I have to track each in its own field aptly
named according to contents (hoping all field names not important due to
special and interest level limitations).
tblBankInfo
BankID(pk)-autonum
HOAcctNo(fk)-text
BankName
BankAddress
BankCity
BankPhone
+ other info about each bank in individual fields
tblContacts
ContactID(pk)-autonum
BankID(fk)-autonum
HOAcctNo-text
BankContactPerson
BankContactPhone
+ other info about each possible contact from each bank
tblContactEvents
ContactID(pk)
HOAcctNo(pk)
ContactDateTime(pk)
BankID(fk)-number
ContactSubject
ContactNotes
ContactFollowUpDate
tblDrawInformation *I think this is poor table design – I don’t know how
many docs are requested for each different banks draw schedule*
DrawID(pk)-autonum
HOAcctNo(fk)-text
ContractAmt-currency
PreconstructionDraw-tex
PresonstructionDrawRcvd-D/T
PresonstructionDrawAmt-currency
PresonstructionDrawDocs1Requested-text
PresonstructionDrawDocs1Rcvd-Y/N
PresonstructionDrawDocs2Requested-text
PresonstructionDrawDocs2Rcvd-Y/N
*Fields go consecutively down 8 Docs (description plus rcvd y/n field) for
each of 7 possible normally 5 draws (payment request increments)
So in field list I have also fields for:
Draw1Doc1-8Requested and Rcvd;
Draw2Doc1-8Requested and Rcvd;
Etc. through Draw 7 (All possible docs listing and rcvd checkbox,too)
+ a notes field for document comments and special requirements per bank.
*-I don’t know how many docs are going to be requested and tracked
anticipate maximum of 8 different docs for each of 7 draws (pymt requests) so
I feel I have a poorly designed table.
tblDrawCompletionChecklist *Again, I think this is poor table design. (Each
draw or payment request corresponds to levels of construction completion not
all draw schedules are the same. So I have the following fields in the table
–which again, I know is poorly designed:
ID(pk)-autonum
HOAcctNo(fk)-number
Draw1Step1-text
Draw1Step1Complete-Y/N-checkbox
Draw1Step2-text
Draw1Step2Complete-Y/N
Draw1Step3-text
Draw1Step3Complete-Y/N
(I estimated approx. 10 Steps in each of seven draws so, the remaining
fields are Draw1Steps4-10 w/text description and Y/N checklists for each step
all the way through to Draw7Step10Complete. This is a lot of fields and each
one will not be used for every homeowner job completion according to the
particular draw schedule I am adhering to for that loan.)
tblDrawInfoCompletionLinkTable
DrawID(pk)
ID(pk)
*I do not know truly if I need this table. I read that for many to many
relationships I will need linking table. Many of the clients will use a
particular bank so often will have the same draw schedule for each client.
Did not want to have to recreate checklist each time so I thought that a many
to many relationship would be appropriate here.
tblHomeOwnerBankLinkTable
BankID(pk)
HOAcctNo(pk)
*Again this is linking table based solely on reading about many to many
relationships and the need for a linking table. (Many homeowners use the same
bank) with 1 caveat: they won’t all the time share the same draw schedule
(some banks offer different options)
tblBankDrawLinkTable
HOAcctNo(pk)
BankID(pk)
DrawID(pk)
*Again another linking table for a possibly necessary many to many
relationship based on the fact that each bank offers different draw schedules.
tblInspectionandMilestoneDates
InspectionRecord(pk)-autonumber
HOAcctNo(fk)-text
FoundationInspectionOrdered-D/T
FoundationInspectionComplete-Y/N
MonoslabInspectionOrdered-D/T
MonoslabInspectionComplete-Y/N
+ all other known govt. required inspections with D/T field
+ all other known govt. required insp. Completion Y/N cklst.
+ 8 misc. milestone D/T fields for the bank draw inspections
+ 8 misc milestone Y/N Accomplished Completions fields
* Again is poor table design?
tblHomeownerInspectionTable
HOAcctNo(pk)
InspectionRecord(pk)
*Again a linking table because each homeowner has the same basic inspection
schedule with the exception of the draw inspection stages (reason for misc
milestone dates)
Questions:
1.) Do I have the tables set up correctly can you advise me on more
appropriate table structure?
2.) How to establish relationship between the tables?
3.) How to ensure that each HOAcctNo has only 1 Bank and 1Draw Schedule?
Any help is greatly appreciated and I apologize for the long post.
establishing relationships between following tables. But first:
I have clients who purchase a house, financed by one of many lending
institutions with many possible contacts and various payment request
schedules my goal is to track and maintain Payment or Draw Information as
needed as explained below.
I need to track the bank and contact info, payment request schedule, phases
in construction, payment information, pymnt. amts., balance to finish, bank
requirements for required documentation and whether we have compiled and
submitted the req. docs., dates for every pymt requition and individual
contact notes. Other data will be added as necessary.
I have the following tables:
tblHomeOwnerInformation
HOAcctNo(pk)-text {combination of lastname & street# }
HOLastName
HOFirstName
JobSiteStreet
JobSiteCity
JobSiteZip
HOResidenceStreet
HOCity
HOState
HOZip
+ other identifying info that I have to track each in its own field aptly
named according to contents (hoping all field names not important due to
special and interest level limitations).
tblBankInfo
BankID(pk)-autonum
HOAcctNo(fk)-text
BankName
BankAddress
BankCity
BankPhone
+ other info about each bank in individual fields
tblContacts
ContactID(pk)-autonum
BankID(fk)-autonum
HOAcctNo-text
BankContactPerson
BankContactPhone
+ other info about each possible contact from each bank
tblContactEvents
ContactID(pk)
HOAcctNo(pk)
ContactDateTime(pk)
BankID(fk)-number
ContactSubject
ContactNotes
ContactFollowUpDate
tblDrawInformation *I think this is poor table design – I don’t know how
many docs are requested for each different banks draw schedule*
DrawID(pk)-autonum
HOAcctNo(fk)-text
ContractAmt-currency
PreconstructionDraw-tex
PresonstructionDrawRcvd-D/T
PresonstructionDrawAmt-currency
PresonstructionDrawDocs1Requested-text
PresonstructionDrawDocs1Rcvd-Y/N
PresonstructionDrawDocs2Requested-text
PresonstructionDrawDocs2Rcvd-Y/N
*Fields go consecutively down 8 Docs (description plus rcvd y/n field) for
each of 7 possible normally 5 draws (payment request increments)
So in field list I have also fields for:
Draw1Doc1-8Requested and Rcvd;
Draw2Doc1-8Requested and Rcvd;
Etc. through Draw 7 (All possible docs listing and rcvd checkbox,too)
+ a notes field for document comments and special requirements per bank.
*-I don’t know how many docs are going to be requested and tracked
anticipate maximum of 8 different docs for each of 7 draws (pymt requests) so
I feel I have a poorly designed table.
tblDrawCompletionChecklist *Again, I think this is poor table design. (Each
draw or payment request corresponds to levels of construction completion not
all draw schedules are the same. So I have the following fields in the table
–which again, I know is poorly designed:
ID(pk)-autonum
HOAcctNo(fk)-number
Draw1Step1-text
Draw1Step1Complete-Y/N-checkbox
Draw1Step2-text
Draw1Step2Complete-Y/N
Draw1Step3-text
Draw1Step3Complete-Y/N
(I estimated approx. 10 Steps in each of seven draws so, the remaining
fields are Draw1Steps4-10 w/text description and Y/N checklists for each step
all the way through to Draw7Step10Complete. This is a lot of fields and each
one will not be used for every homeowner job completion according to the
particular draw schedule I am adhering to for that loan.)
tblDrawInfoCompletionLinkTable
DrawID(pk)
ID(pk)
*I do not know truly if I need this table. I read that for many to many
relationships I will need linking table. Many of the clients will use a
particular bank so often will have the same draw schedule for each client.
Did not want to have to recreate checklist each time so I thought that a many
to many relationship would be appropriate here.
tblHomeOwnerBankLinkTable
BankID(pk)
HOAcctNo(pk)
*Again this is linking table based solely on reading about many to many
relationships and the need for a linking table. (Many homeowners use the same
bank) with 1 caveat: they won’t all the time share the same draw schedule
(some banks offer different options)
tblBankDrawLinkTable
HOAcctNo(pk)
BankID(pk)
DrawID(pk)
*Again another linking table for a possibly necessary many to many
relationship based on the fact that each bank offers different draw schedules.
tblInspectionandMilestoneDates
InspectionRecord(pk)-autonumber
HOAcctNo(fk)-text
FoundationInspectionOrdered-D/T
FoundationInspectionComplete-Y/N
MonoslabInspectionOrdered-D/T
MonoslabInspectionComplete-Y/N
+ all other known govt. required inspections with D/T field
+ all other known govt. required insp. Completion Y/N cklst.
+ 8 misc. milestone D/T fields for the bank draw inspections
+ 8 misc milestone Y/N Accomplished Completions fields
* Again is poor table design?
tblHomeownerInspectionTable
HOAcctNo(pk)
InspectionRecord(pk)
*Again a linking table because each homeowner has the same basic inspection
schedule with the exception of the draw inspection stages (reason for misc
milestone dates)
Questions:
1.) Do I have the tables set up correctly can you advise me on more
appropriate table structure?
2.) How to establish relationship between the tables?
3.) How to ensure that each HOAcctNo has only 1 Bank and 1Draw Schedule?
Any help is greatly appreciated and I apologize for the long post.