yessir
Saved By Grace
- Local time
- Today, 00:20
- Joined
- May 29, 2003
- Messages
- 349
I have this:
which should and does take the tag element of a check box and add or subtract from intScore.
However upon making the form tabular it doesn't work...
any help here?
Code:
Private Sub GetTotal()
Dim ctl As Control, intScore As Integer
For Each ctl In Me.Controls
If ctl.ControlType = acCheckBox Then
If ctl = True Then
intScore = intScore + ctl.Tag
End If
End If
Next
Me.Points = intScore + Nz(Me.extra_points)
End Sub
which should and does take the tag element of a check box and add or subtract from intScore.
However upon making the form tabular it doesn't work...
any help here?