N
Neil via AccessMonster.com
i am trying to create a form which is a register, i have fields monday, tues
etc and i have a field called actual which i want to store the days that the
people are in, i need this to happen everytime the record is updated
heres what i have
Private Sub Form_AfterUpdate()
Me![Actual] = Abs(Sum([Monday])) + Abs(Sum([Tuesday])) + Abs(Sum([Wednesday]))
+ Abs(Sum([Thursday])) + Abs(Sum([Friday]))
End Sub
this says sub or function not defined which refers to the sum function
thanks in advance Neil
etc and i have a field called actual which i want to store the days that the
people are in, i need this to happen everytime the record is updated
heres what i have
Private Sub Form_AfterUpdate()
Me![Actual] = Abs(Sum([Monday])) + Abs(Sum([Tuesday])) + Abs(Sum([Wednesday]))
+ Abs(Sum([Thursday])) + Abs(Sum([Friday]))
End Sub
this says sub or function not defined which refers to the sum function
thanks in advance Neil