M
mace9984 via AccessMonster.com
Hey guys!
First off, thanks for you help, I've been a long time reader of Accessmonster.
com and I've learned so much from you guys. I've ran into a problem that I
can't seem to find a resolution for. I'll try to explain it clearly below.
there is a Table called tbl_Occurrence. It list all occurrences that
employees have, each occurrence is on a seperate record. The fields of this
table are...
Emp_ID (employee ID), Date_Of_Occurrence(Date occurrence happened), Points
(Points earned by occurrence) and Coach_Memo(Memo left by employees manager).
Due to constantly shifting schedules I often have to rerun this, So, I save
all coach memos into a temp table (the coach memo's can't be retrieved from
data sources, they are only entered once by the coaches). I then delete the
records from the occurrence table, and rerun it all. So then I have all the
fields repopulated except for the coach memo. So what I'm trying to do is
If the Emp_ID and Date_Of_Occurrence are the same in both tables, I want to
append the coach memo to that specific record. I could do this by looping
through the recordset, but there are on average 12,000 records, and 400
employees I'd have to loop through it for. This seems horribly inefficent.
I've tried using an append query, but it just adds new records, instead of
adding it to the already existing (matching) record... any help would be
sooooo appreciated!!
First off, thanks for you help, I've been a long time reader of Accessmonster.
com and I've learned so much from you guys. I've ran into a problem that I
can't seem to find a resolution for. I'll try to explain it clearly below.
there is a Table called tbl_Occurrence. It list all occurrences that
employees have, each occurrence is on a seperate record. The fields of this
table are...
Emp_ID (employee ID), Date_Of_Occurrence(Date occurrence happened), Points
(Points earned by occurrence) and Coach_Memo(Memo left by employees manager).
Due to constantly shifting schedules I often have to rerun this, So, I save
all coach memos into a temp table (the coach memo's can't be retrieved from
data sources, they are only entered once by the coaches). I then delete the
records from the occurrence table, and rerun it all. So then I have all the
fields repopulated except for the coach memo. So what I'm trying to do is
If the Emp_ID and Date_Of_Occurrence are the same in both tables, I want to
append the coach memo to that specific record. I could do this by looping
through the recordset, but there are on average 12,000 records, and 400
employees I'd have to loop through it for. This seems horribly inefficent.
I've tried using an append query, but it just adds new records, instead of
adding it to the already existing (matching) record... any help would be
sooooo appreciated!!