Hello everyone. I need help in the design of a database and any replies are appreciated.
I need to make a data base that records member info, member contract info, and monthly payments.
Each member will have personal info. Also each member will have many contracts, sometimes more than one per year. When one contract ends a new one is created and payments to each contract's account are payed monthly.
Below is my latest of about 20 table designs.
Table 1(Member Info)
Member Name
Phone no.
Address
Table 2(Contract Table)
Member Name
Start Date
End Date
Table 3(Payment Table)
Member Name
Month
Year
Payment amount
I know that I need to distinguish the contracts by a Contract ID, but I have tried to concatenate the member name and start date for the ID and couldn't get it to work.
I tried to use an autonumber field for contract ID but could not link it to payment table right. To get queries to work.
I need to be able to search by member name and show all contracts, search by contract and show payment info, etc.
Should I create a table for each month? If I don't, the payment table is "unqueryable" I think.
Sorry for the confusing post, I don't know how else to present the problem.
I need to make a data base that records member info, member contract info, and monthly payments.
Each member will have personal info. Also each member will have many contracts, sometimes more than one per year. When one contract ends a new one is created and payments to each contract's account are payed monthly.
Below is my latest of about 20 table designs.
Table 1(Member Info)
Member Name
Phone no.
Address
Table 2(Contract Table)
Member Name
Start Date
End Date
Table 3(Payment Table)
Member Name
Month
Year
Payment amount
I know that I need to distinguish the contracts by a Contract ID, but I have tried to concatenate the member name and start date for the ID and couldn't get it to work.
I tried to use an autonumber field for contract ID but could not link it to payment table right. To get queries to work.
I need to be able to search by member name and show all contracts, search by contract and show payment info, etc.
Should I create a table for each month? If I don't, the payment table is "unqueryable" I think.
Sorry for the confusing post, I don't know how else to present the problem.