Thanks.
I'm trying to call the function into my query now. I have put this expression in the field compartment
Expr1: GetSumHighest([q1],[q2],[q3],[q4][q5],[q6])
i changed some variables to meet the field names, and the new code is:
Public Function GetSumHighest(q1 As Integer, q2 As Integer...