S
Stranger
Hi, I'm creating a database for a division of the company that has started up. We are a non profit.
There will be customers, different membership levels and activities that each customer will attend. I need to be able to track customer data, payments, activities each customer attended and be able to track attendance.
Here is what I have so far 4 tables:
tblpayments consist of:
PaymenttID Payment amount: Payment date: Payment Method: Credit card number: Name as it appears on credit card: Type of credit card: Expiration date: Payment authorization number: Security code: Customer ID
tblcustomers consist of:
Customer ID First Name Last Name Dear Address City State/Province Postal Code Region Country/Region Company Name Title Work Phone Work Extension Home Phone Mobile Phone Fax Number Email Name Birthdate Last Meeting Date Customer Type ID Referred By Notes Spouse Name Customer's Interests SSN JudsonID
tblcustomertypes:
CustomerTypeID CustomerType
tblactivities:
ActivityID CustomerID ActivityDate ActivityTime Subject Notes
For relationships I have the following:
Customers.customerid 1->many tblpayments.customerid
Attributes: enforced
customertypes.customertypesid 1->many cusotmers.customerstypeid
Attributes: not enforced, right join
customers.customerID 1 -> many activities.activitiesid
Attributes: Enforced, cascade Updates, cascade deletes
Am I on the right track? Do I need another table to track attendants or would activities table be able to do that with the current setup?
Thanks for any help.
Jack
There will be customers, different membership levels and activities that each customer will attend. I need to be able to track customer data, payments, activities each customer attended and be able to track attendance.
Here is what I have so far 4 tables:
tblpayments consist of:
PaymenttID Payment amount: Payment date: Payment Method: Credit card number: Name as it appears on credit card: Type of credit card: Expiration date: Payment authorization number: Security code: Customer ID
tblcustomers consist of:
Customer ID First Name Last Name Dear Address City State/Province Postal Code Region Country/Region Company Name Title Work Phone Work Extension Home Phone Mobile Phone Fax Number Email Name Birthdate Last Meeting Date Customer Type ID Referred By Notes Spouse Name Customer's Interests SSN JudsonID
tblcustomertypes:
CustomerTypeID CustomerType
tblactivities:
ActivityID CustomerID ActivityDate ActivityTime Subject Notes
For relationships I have the following:
Customers.customerid 1->many tblpayments.customerid
Attributes: enforced
customertypes.customertypesid 1->many cusotmers.customerstypeid
Attributes: not enforced, right join
customers.customerID 1 -> many activities.activitiesid
Attributes: Enforced, cascade Updates, cascade deletes
Am I on the right track? Do I need another table to track attendants or would activities table be able to do that with the current setup?
Thanks for any help.
Jack