How do I write a query for all those that have an odd value?

G

Guest

We have a database of football players. One of the data fields is "Jersey
number". How do we write a query to list out all players with an Odd jersey
number.
 
G

Guest

Expr2: [JerseyNumber] Mod 2
CRITERIA -- >0
This divides number by two or multiple of two and list the remainder. Any
with remainder is odd.
 
J

Jason Lepack

It is called modulo.

1 modulo 2 = 1

In access I believe it's called mod

Cheers,
Jason Lepack
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top