Welcome to SPN

Register and Join the most happening forum of Sikh community & intellectuals from around the world.

Sign Up Now!

Query Criteria Evens only

Discussion in 'Information Technology' started by msmuzila@gmail.com, Jul 28, 2006.

  1. msmuzila@gmail.com

    msmuzila@gmail.com
    Expand Collapse
    Guest

    I want to filter a query to show even numbers only, wheat would i put
    in the query criteria box in design view for that field

    Thanks
     
  2. Loading...

    Similar Threads Forum Date
    Query about Jhatka Meat by Shooting in Head Sikh Sikhi Sikhism Aug 26, 2011
    Who is a sikh? A non sikh friend's query!! Sikh Sikhi Sikhism Apr 30, 2010
    General Query Hard Talk Sep 4, 2008
    Power of pauri's in Japji Sahib query Sikh Sikhi Sikhism Aug 17, 2006
    Sikhism a query Book Reviews & Editorials Aug 2, 2005

  3. Paul Overway

    Paul Overway
    Expand Collapse
    Guest

    You would need an extra column...

    SELECT SomeNumber FROM sometable WHERE (SomeNumber Mod 2 = 0)=True

    --
    Paul Overway
    Logico Solutions, LLC
    www.logico-solutions.com


    <msmuzila@gmail.com> wrote in message
    news:1151502784.917215.238190@b68g2000cwa.googlegroups.com...
    >I want to filter a query to show even numbers only, wheat would i put
    > in the query criteria box in design view for that field
    >
    > Thanks
    >
     
  4. Allen Browne

    Allen Browne
    Expand Collapse
    Guest

    In a fresh column of the *Field* row, enter:
    [Field1] Mod 2
    substituting the name of your field for Field1.

    In the Criteria row under this field, enter:
    0

    --
    Allen Browne - Microsoft MVP. Perth, Western Australia.
    Tips for Access users - http://allenbrowne.com/tips.html
    Reply to group, rather than allenbrowne at mvps dot org.

    <msmuzila@gmail.com> wrote in message
    news:1151502784.917215.238190@b68g2000cwa.googlegroups.com...
    >I want to filter a query to show even numbers only, wheat would i put
    > in the query criteria box in design view for that field
     

Share This Page