R
Reno
Hey all
I have a gradebook for my students and I have a form that has a sub form
showing all students, one student at a tme with all their results . these
results are broke into two criteria Alpha and beta. in the footer I have the
a txtbox(alpha1) that sums all the marks in the alpha field for that student
and a txtbox(beta1)that sums all the marks in the beta field for that
student. but I now need it to on sum the alpha field if a semester field =1
but my attempt,which is in the control source of txtbox(alpha1)
=SUM( IIf(([Sem])=1,[alpha],0) )
doesnt work. Any ideas gives me an #error in txt(alpha1)
thank you
Cheers
I have a gradebook for my students and I have a form that has a sub form
showing all students, one student at a tme with all their results . these
results are broke into two criteria Alpha and beta. in the footer I have the
a txtbox(alpha1) that sums all the marks in the alpha field for that student
and a txtbox(beta1)that sums all the marks in the beta field for that
student. but I now need it to on sum the alpha field if a semester field =1
but my attempt,which is in the control source of txtbox(alpha1)
=SUM( IIf(([Sem])=1,[alpha],0) )
doesnt work. Any ideas gives me an #error in txt(alpha1)
thank you
Cheers