Question about fitering

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

Guest

In my Clients table I have an autonumber field for Client ID. My boss would
like me to pull 2 seperate reports: 1 with all the odd Client ID numbers
(autonumber) and 1 with all the even Client ID numbers. I have messed around
with filtering and queries and I cannot figure out how to do this.

Is it possible?
 
For Odd numbers

SELECT TableName.*
FROM TableName
WHERE [Client ID] Mod 2=1

For Even numbers

SELECT TableName.*
FROM TableName
WHERE [Client ID] Mod 2=0
 

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

Similar Threads

Showing ID field 6
Form from a query 1
Why do I loose ID# in my Access database? 2
Access 2010 query for 3 tables 0
Macros & Tables 1
fields w/no value 3
ID Number 2
Lookup in a Form 6

Back
Top