N
Niklas Östergren
Hi!
I thought that I had a good table design until I faced a problem which I
have got some help with here. Right now I have stoped developing since I
need to figure out if I´m going to keep the table design and relationships
that I currently have or not. What I need help with is someone to diskuss
this matter with and hopfully it ends up with a decision.
I´m developing a member db for an association, storing data of our members
(names, addresses, phonenumbers, memberships etc.). Right now I´m working
with the registration of membershops, wich is a vital part of this db and
also the most common task for the user to do.
There are three different types of people that the user shall registrate a
new membership on:
1.) New members which isn´t allready in the db
2.) New members which allready is registrated by name, adress etc. but never
have payed the member fee.
3.) Old members which either have a valid membership or don´t have a valid
membership (a member pays the member fee for next period before the last
period of the member fee is invalid).
A new membership can be registrated in two different ways:
1.) If the person allready exist in the db
- The user open up a form showing all registrated people from tabel <
tblPerson > AND < tblNewMemberShipEntry >. The user then select the person
and starts a guid helping the user out with different selections about the
membership.
2.) If the person does NOT exist in the db:
- Here the user have two choises depending on what´s available. Either
to import the data from a textfile (which we get if the person applying for
membership apply via our web- site) or manually entering all the data via a
form into < tblNewMemberShipEntry >. And then start a guide which copy some
of the data from < tblNewMemberShipEntry > into < tblPerson > and then help
the user with some selection reguarding memberships.
I have a primary key in < tblNewMemberShipEntry > [NewMemberShipEntryID]
Her´s how I was thinking when I first designed the tables and the
relationship:
- It´s quit common that a person apply for membership but never pay´s the
membership fee. Therefor I wanted to use < tblNewMemberShipEntry > more or
less as a filter between all data comming from outside to the main tabel <
tblPerson >. And also easily, when the user whants to, delete the records in
this tabel < tblNewMemberShipEntry > that have a created date older than
xxx.
So the main reason was to seperate the records which never ends up in a
valid membership.
Now I have realised that this is causing me some problems and I get
redundance in my db. So I need some help with how you see on this problem
and what you would have done.
I´m still in the beginning of developing fase so it´s not any major work
neccesary to change the table design if I need to. That´s why I ask now!
TIA!
// Niklas
I thought that I had a good table design until I faced a problem which I
have got some help with here. Right now I have stoped developing since I
need to figure out if I´m going to keep the table design and relationships
that I currently have or not. What I need help with is someone to diskuss
this matter with and hopfully it ends up with a decision.
I´m developing a member db for an association, storing data of our members
(names, addresses, phonenumbers, memberships etc.). Right now I´m working
with the registration of membershops, wich is a vital part of this db and
also the most common task for the user to do.
There are three different types of people that the user shall registrate a
new membership on:
1.) New members which isn´t allready in the db
2.) New members which allready is registrated by name, adress etc. but never
have payed the member fee.
3.) Old members which either have a valid membership or don´t have a valid
membership (a member pays the member fee for next period before the last
period of the member fee is invalid).
A new membership can be registrated in two different ways:
1.) If the person allready exist in the db
- The user open up a form showing all registrated people from tabel <
tblPerson > AND < tblNewMemberShipEntry >. The user then select the person
and starts a guid helping the user out with different selections about the
membership.
2.) If the person does NOT exist in the db:
- Here the user have two choises depending on what´s available. Either
to import the data from a textfile (which we get if the person applying for
membership apply via our web- site) or manually entering all the data via a
form into < tblNewMemberShipEntry >. And then start a guide which copy some
of the data from < tblNewMemberShipEntry > into < tblPerson > and then help
the user with some selection reguarding memberships.
I have a primary key in < tblNewMemberShipEntry > [NewMemberShipEntryID]
which I copy into said:is [fkNewMemberShipEntryID] and the relatinship is ONE to ONE.
Her´s how I was thinking when I first designed the tables and the
relationship:
- It´s quit common that a person apply for membership but never pay´s the
membership fee. Therefor I wanted to use < tblNewMemberShipEntry > more or
less as a filter between all data comming from outside to the main tabel <
tblPerson >. And also easily, when the user whants to, delete the records in
this tabel < tblNewMemberShipEntry > that have a created date older than
xxx.
So the main reason was to seperate the records which never ends up in a
valid membership.
Now I have realised that this is causing me some problems and I get
redundance in my db. So I need some help with how you see on this problem
and what you would have done.
I´m still in the beginning of developing fase so it´s not any major work
neccesary to change the table design if I need to. That´s why I ask now!
TIA!
// Niklas