J
James
Hello All,
I have a membership database, members can buy examinations, membership
subscriptions and items (mugs, ties etc). I have a table linked to member
called payments which is a history of what they have paid for. There is a
seperate table for the exams they have sat, and I want to create a table for
the items they can buy.
The problem is, I need to put the object they have bought on hold till their
money has cleared, ie not send out their mug or exam till their check has
gone through. So I need to link the payments table to the exams table and
also the items table. What is the best way to do this, or am i going about
this the wrong way.
I am thinking of having 3 id fields in the payments table, one for the
member, one for the exam if that is what they are paying for, and one for the
item if that is what they are paying for.
Member id will always link to the member who is buying, examid will have a
number if they are paying for an exam or a 0, same with item id.
Is this a good way to do it? YOur comments would be greatly appreciated.
James
I have a membership database, members can buy examinations, membership
subscriptions and items (mugs, ties etc). I have a table linked to member
called payments which is a history of what they have paid for. There is a
seperate table for the exams they have sat, and I want to create a table for
the items they can buy.
The problem is, I need to put the object they have bought on hold till their
money has cleared, ie not send out their mug or exam till their check has
gone through. So I need to link the payments table to the exams table and
also the items table. What is the best way to do this, or am i going about
this the wrong way.
I am thinking of having 3 id fields in the payments table, one for the
member, one for the exam if that is what they are paying for, and one for the
item if that is what they are paying for.
Member id will always link to the member who is buying, examid will have a
number if they are paying for an exam or a 0, same with item id.
Is this a good way to do it? YOur comments would be greatly appreciated.
James