odd/even numbers

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I am making a report and need only the records that contain odd values in a field of integers. Is there a function or somthing that I can use?
 
I am making a report and need only the records that contain odd values in a field of integers. Is there a function or somthing that I can use?

Sure.
If [SomeField] Mod 2 = 0 Then
' it's Even
Else
' It's Odd
End If
 
Back
Top