T
tbmarlie
Ok, I've been spinning my wheels. I thought this would be easier.
I'm creating a Make Table query from an existing table where I am
adding one field, "Completed", in the new table
The value that will go into this field will be the sum of the values
any field that has "Course" in the name of the field.
The values in the course fields are either going to be 0 or 1.
For example, Lets say I have the following course fields with their
corresponding values:
Field Name Value
Course1 1
Course2 1
Course3 0
So, in my table that I'm making the Field named "Completed" will have
a value of 2.
This is very easy query to create if I know that I'm always going to
have 3 courses.
My problem, though, is in creating the query to be dynamic enough so
that the Completed field will sum the course field values whether I
have 3 courses or 5 courses or 20 courses.
Thanks for any assistance.
I'm creating a Make Table query from an existing table where I am
adding one field, "Completed", in the new table
The value that will go into this field will be the sum of the values
any field that has "Course" in the name of the field.
The values in the course fields are either going to be 0 or 1.
For example, Lets say I have the following course fields with their
corresponding values:
Field Name Value
Course1 1
Course2 1
Course3 0
So, in my table that I'm making the Field named "Completed" will have
a value of 2.
This is very easy query to create if I know that I'm always going to
have 3 courses.
My problem, though, is in creating the query to be dynamic enough so
that the Completed field will sum the course field values whether I
have 3 courses or 5 courses or 20 courses.
Thanks for any assistance.