C
cpocpo
Hello all!
Still having a fundamental problem making my database work. (I
received alot of help in earlier posts, and this is the last thing to
make this thing workable.)
Basically, I have 40 employees, some military, some civilian. As well
as tracking their basic personal information (SSN, address, spouse
name, etc.), I am keeping track of their "recurring
items" (birthdays,
anniversaries, medical exams, dental exams, EEO training, HR
training,
etc.).Some of these are every 1 year, some are every 3 years, etc.
When the database is opened, a report should pop up with "The
following events are due this month: Mr. X dental exam due ________,
Mrs. J has a birthday on _______. Also, the following items are
overdue: Mr. P's dental exam was due on _________."
So, each employee can have many different "events", each having their
own date of accomplishment.
Setup:
1) tblEmployee with 3 fields: EmployeeID (autonumber, PK), LName
(text), and FName (text).
2) tblEventType with 3 fields: EventTypeID (autonumber, PK), EventType
(Text) and Periodicity (Number) [This would have the list of events:
dental exam, physical exam, EO training, etc.]
3) tblEvents with 4 fields: EmployeeID (number), EventTypeID (Number),
EventID (autonumber, PK)
and EventDate (Date/Time). [This would bring together the person, the
event they participated in, and the date they did it]
Relationships:
1) EmployeeID (from tblEmployee) to EmployeeID (from tblEvents)
one-to-many, no referential integrity, no cascades, join type 1
2) EventTypeID (from tblEventType) to EventTypeID (from tblEvents)
one-to-many, no referential integrity, no cascades, join type 1
Created a query with the wizard pulling LName and FName from the
first
table, EventType from the second table, and EventDate from the third.
This
gives me a form with the FName and LName and a subform with the other
two.
Now, I can get the name to update but when I enter the date in the
subform, I get an error "ding" with every keystroke. It seems that the
tables aren't "talking" to each other. And this probably has to work
for the popup reminder report to work (which I
will need help with also.)
??
Lost for sure Guy
Still having a fundamental problem making my database work. (I
received alot of help in earlier posts, and this is the last thing to
make this thing workable.)
Basically, I have 40 employees, some military, some civilian. As well
as tracking their basic personal information (SSN, address, spouse
name, etc.), I am keeping track of their "recurring
items" (birthdays,
anniversaries, medical exams, dental exams, EEO training, HR
training,
etc.).Some of these are every 1 year, some are every 3 years, etc.
When the database is opened, a report should pop up with "The
following events are due this month: Mr. X dental exam due ________,
Mrs. J has a birthday on _______. Also, the following items are
overdue: Mr. P's dental exam was due on _________."
So, each employee can have many different "events", each having their
own date of accomplishment.
Setup:
1) tblEmployee with 3 fields: EmployeeID (autonumber, PK), LName
(text), and FName (text).
2) tblEventType with 3 fields: EventTypeID (autonumber, PK), EventType
(Text) and Periodicity (Number) [This would have the list of events:
dental exam, physical exam, EO training, etc.]
3) tblEvents with 4 fields: EmployeeID (number), EventTypeID (Number),
EventID (autonumber, PK)
and EventDate (Date/Time). [This would bring together the person, the
event they participated in, and the date they did it]
Relationships:
1) EmployeeID (from tblEmployee) to EmployeeID (from tblEvents)
one-to-many, no referential integrity, no cascades, join type 1
2) EventTypeID (from tblEventType) to EventTypeID (from tblEvents)
one-to-many, no referential integrity, no cascades, join type 1
Created a query with the wizard pulling LName and FName from the
first
table, EventType from the second table, and EventDate from the third.
This
gives me a form with the FName and LName and a subform with the other
two.
Now, I can get the name to update but when I enter the date in the
subform, I get an error "ding" with every keystroke. It seems that the
tables aren't "talking" to each other. And this probably has to work
for the popup reminder report to work (which I
will need help with also.)
??
Lost for sure Guy