hardhitter06
Registered User.
- Local time
- Today, 18:04
- Joined
- Dec 21, 2006
- Messages
- 600
Hi All,
Access 2003.
I know this is cumbersome, but please bear with me, I’m trying to be as thorough as possible.
My question will basically be how to design this search/calculation, but let me explain my set up first.
I have 5 tables with 5 corresponding input forms. Each input form is specific to the end user. For example, only 2 of the same users will enter into Form A throughout the month. Only 1 static user will enter into Form B and so on and so forth.
At the end of the month, I need to run a search query where I calculate the total of each field per form/table and group them in one giant report. Let me explain this further with an example:
Form A is ReqsInput. One of its fields is called ReqsProcessed. Throughout February and March, those 2 same users entered 5 records (1 in February, 4 in March). I want to run a query where that little search criteria box pops open and asks me to enter a month and year. In this case, I would like to run the query and enter 03/2010. I then want this query to total all of the ReqsProcessed for March (So ReqsProcessed in each of the 4 records will need to be added).
For each field in each form I need this calculation to take place so that when the report is ran, I have every Form and its fields totaled together and displayed in one place.
So here are my actual questions:
1. Since I have 5 forms, I have 5 different Date names appropriate to the name of the Form. So in this situation, the date field is called ReqInputDate. Now since I have 5 tables with all of the fields in one query, will this work? In other words, will I be able to collect records from each form for a certain month with 5 different date field names? Or will the all need to be the same?
With my limited knowledge, I think if I put the same search criteria under each different date field name, I’m going to get 5 of those little search dialog boxes asking me to enter a month and year. I’m not sure if using the same Date name for each form would change this or if I would have to do something different?? So I need help with this design question.
2. I’ve only done a criteria search where I collected records from a year span from today’s date:
(shown here)
This isn’t the case in this example, I just need help having the query collect data for all the records from a month and year search (March of 2010). Could someone show me how to alter this to make that happen?
Once I get these two things, I will work on the calculation part.
I appreciate any insight I can get, and I also thank you for your time.
-Josh
Access 2003.
I know this is cumbersome, but please bear with me, I’m trying to be as thorough as possible.
My question will basically be how to design this search/calculation, but let me explain my set up first.
I have 5 tables with 5 corresponding input forms. Each input form is specific to the end user. For example, only 2 of the same users will enter into Form A throughout the month. Only 1 static user will enter into Form B and so on and so forth.
At the end of the month, I need to run a search query where I calculate the total of each field per form/table and group them in one giant report. Let me explain this further with an example:
Form A is ReqsInput. One of its fields is called ReqsProcessed. Throughout February and March, those 2 same users entered 5 records (1 in February, 4 in March). I want to run a query where that little search criteria box pops open and asks me to enter a month and year. In this case, I would like to run the query and enter 03/2010. I then want this query to total all of the ReqsProcessed for March (So ReqsProcessed in each of the 4 records will need to be added).
For each field in each form I need this calculation to take place so that when the report is ran, I have every Form and its fields totaled together and displayed in one place.
So here are my actual questions:
1. Since I have 5 forms, I have 5 different Date names appropriate to the name of the Form. So in this situation, the date field is called ReqInputDate. Now since I have 5 tables with all of the fields in one query, will this work? In other words, will I be able to collect records from each form for a certain month with 5 different date field names? Or will the all need to be the same?
With my limited knowledge, I think if I put the same search criteria under each different date field name, I’m going to get 5 of those little search dialog boxes asking me to enter a month and year. I’m not sure if using the same Date name for each form would change this or if I would have to do something different?? So I need help with this design question.
2. I’ve only done a criteria search where I collected records from a year span from today’s date:
Code:
Between DateAdd("yyyy",-1,Date()) And Date()
This isn’t the case in this example, I just need help having the query collect data for all the records from a month and year search (March of 2010). Could someone show me how to alter this to make that happen?
Once I get these two things, I will work on the calculation part.
I appreciate any insight I can get, and I also thank you for your time.
-Josh