R
Rob S
Our current db does not use any form of user authentication. There are
several "activity" tables used that are populated by form entries. Each of
the activity tables contains several fields, but there are two fields that
are on each of the activity tables - ActivityDate and Staff.
I am trying to create a more streamlined db and I've been able to create a
user authentication system, realizing that it is not a secure
authentication. Once authenticated, the staff logging in has field that is
set to 1, where the remainder of the staff are set to 0.
There are a couple of questions in this and maybe I've just looked at the
old db too long and I can't see my way through "fixing" it in the new one.
First question deals with normalization. It seems like the db is not
normalized because staff names and activity date are entered into every
form/table. What would be the best way to normalize this?
This relates to my second question. Assuming there isn't really any way to
normalize the tables better, is there a way to automatically enter the name
of the user that is authenticated into the appropriate field for the new
record without typing it in? I've tried to ignore the first question for
the time being and look at the second. I can do a dlookup of the staff
member that is logged in based on whether the user is set to a 0 or to a 1.
But doing this only enters the staff name in the form. It doesn't carry the
staff member's name over into the corresponding "activity" table.
We want to be able to look for activity of an individual person, so I need
to link to the user. But most of the time we will do a search for each of
the different tables based on date and not be concerned about an individual
person. My guess is that there is an answer to the second question that
also addresses the normalization issue and I'm just not seeing it.
Suggestions?
several "activity" tables used that are populated by form entries. Each of
the activity tables contains several fields, but there are two fields that
are on each of the activity tables - ActivityDate and Staff.
I am trying to create a more streamlined db and I've been able to create a
user authentication system, realizing that it is not a secure
authentication. Once authenticated, the staff logging in has field that is
set to 1, where the remainder of the staff are set to 0.
There are a couple of questions in this and maybe I've just looked at the
old db too long and I can't see my way through "fixing" it in the new one.
First question deals with normalization. It seems like the db is not
normalized because staff names and activity date are entered into every
form/table. What would be the best way to normalize this?
This relates to my second question. Assuming there isn't really any way to
normalize the tables better, is there a way to automatically enter the name
of the user that is authenticated into the appropriate field for the new
record without typing it in? I've tried to ignore the first question for
the time being and look at the second. I can do a dlookup of the staff
member that is logged in based on whether the user is set to a 0 or to a 1.
But doing this only enters the staff name in the form. It doesn't carry the
staff member's name over into the corresponding "activity" table.
We want to be able to look for activity of an individual person, so I need
to link to the user. But most of the time we will do a search for each of
the different tables based on date and not be concerned about an individual
person. My guess is that there is an answer to the second question that
also addresses the normalization issue and I'm just not seeing it.
Suggestions?