Question Append Data from Table A + Table B to Table C

cooh23

Registered User.
Local time
Today, 08:46
Joined
Dec 5, 2007
Messages
169
Hi All,

I am struggle a bit here and need your guidance on how to accomplish what I described in the title:

I have 3 tables:
tbl_activities - contains a list of activities
tbl_districts - contains a list of districts
tbl_districtactivities - This is the district transaction that shows a list of activities that is needed to be completed by every district. (contains status and completion date)

I am using a district form with the subform that is from tbl_districtactivities. I can add the activities in the form manually without a problem but what I need is for all of the activities to show and not just the ones that i've added.

So eventually, my tbl_districtactivities should have the following data:
districtactivitiesID, districtID, activitiesID, status, completiondate
1, 1, 1, open, [blank]
2, 1, 2, open, [blank]
3, 1, 3, Done, 1/5/2015

That's for District 1 for example.

Then for district 2, it should continue and show the following:
1, 2, 1, Done, 1/4/2015
2, 2, 2, open, [blank]
3, 2, 3, Done, 1/5/2015

Hope my question made sense. I know that isn't the best way to do it but it has to be done that way. It's basically just like a checklist. You show all of the activities that needs to be done per district and just tick off the one that's been done.

Is there a better way of doing this? I would love to get your inputs.

Thank you,

J
 
As you have already admitted, it is not best practices. The rule is enter once store once.
You already have the data you need with the 2 tables. Either query it or create a Report for it.
 
As you have already admitted, it is not best practices. The rule is enter once store once.
You already have the data you need with the 2 tables. Either query it or create a Report for it.

ahh Thanks! I guess i've been working on it for a while that my mind was going blank. I created a query and now everything is showing without having to enter them manually.

Thanks!
 

Users who are viewing this thread

Back
Top Bottom