Results 1 to 3 of 3
  1. #1
    New Lounger
    Join Date
    Apr 2002
    Location
    Ellenwood, Georgia, USA
    Posts
    18
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Advanced Criteria-RANGE or AND

    How can I enter criteria to select from a database based on a range of dates. I want to select everything between certain dates.

    If I enter two criteria: >BOM and <EOM, the selection routine seems to treat them as OR, which of course then selects EVERYTHING.

  2. #2
    Gold Lounger
    Join Date
    Feb 2001
    Location
    Dublin, Ireland, Republic of
    Posts
    2,697
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Re: Advanced Criteria-RANGE or AND

    What you need is two instances of the date field in the criteria range, one reading >BOM and the other reading <EOM. For an AND operator they must be on the same row (putting one under the other results in a OR operation), so if if you start your criteria in A1, then A1 and B1 sould contain the same field name, say DATE, and in A2 enter >BOM and in B2 <EOM.

    Hope that helps,

    Andrew

  3. #3
    New Lounger
    Join Date
    Apr 2002
    Location
    Ellenwood, Georgia, USA
    Posts
    18
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Advanced Criteria-RANGE or AND

    Thanks for the quick reply.
    Now if I can just figure out how to do that in a commerical prepackaged worksheet without breaking something eles <g>

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •