G
gab1972
Sorry if the subject sounded confusing. Here's what I'm trying to
accomplish.
I have an Access database named AvgDays. In that recordset, I have
the following columns:
permit_num
county
isitD
isitM
dist_days
maint_days
curr_location
dist_days and main_days have a number of days. isitM could contain a
letter, "M". This means that not all of the records have an M in the
field.
What I want to accomplish:
Search every record in the recordset AvgDays where isitM = "M"...when
found, I want to continuously sum maint_days...so that it searches all
records and sums the total number of days. So if there are 100
records and say 75 have the letter M in isitM, I want to sum that
value, move to the next record, add that number, and so and so forth.
Is this possible? Any help would be GREATLY appreciated.
accomplish.
I have an Access database named AvgDays. In that recordset, I have
the following columns:
permit_num
county
isitD
isitM
dist_days
maint_days
curr_location
dist_days and main_days have a number of days. isitM could contain a
letter, "M". This means that not all of the records have an M in the
field.
What I want to accomplish:
Search every record in the recordset AvgDays where isitM = "M"...when
found, I want to continuously sum maint_days...so that it searches all
records and sums the total number of days. So if there are 100
records and say 75 have the letter M in isitM, I want to sum that
value, move to the next record, add that number, and so and so forth.
Is this possible? Any help would be GREATLY appreciated.