T
Tony Botelho
You can use a simple IF statement to see if the CountThem
is evenly divisible by 5
If Me!CountThem / 5 = Me!CountThem \ 5 Then
Me.Line54.Visible = -1
Else
Me.Line54.Visible = 0
End If
The "/" performs standard division. The "\" operator
returns only the whole number portion of the result (no
remainder, or decimals).
is evenly divisible by 5
If Me!CountThem / 5 = Me!CountThem \ 5 Then
Me.Line54.Visible = -1
Else
Me.Line54.Visible = 0
End If
The "/" performs standard division. The "\" operator
returns only the whole number portion of the result (no
remainder, or decimals).