• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 72
  • Last Modified:

how to get hundreds part from the number

i have a list from 1 to 1000.
1
2
3
...
100
101
102
....
999
1000


i need to get only 100, 200, 300 and so on
how to that in Access
it has to do with the mode part?


Thank you
0
rfedorov
Asked:
rfedorov
1 Solution
 
PatHartmanCommented:
I think you are asking how to do this in a query.

Select * from your table
Where somefield mod 100 = 0;

The mod operator returns the remainder.  So, any number that ends in 100 will return 0 as the remainder when divided by 100.
2

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now