Results 1 to 2 of 2
  1. #1
    Join Date
    Feb 2010
    Posts
    15

    Unanswered: Need a query to return a value if out of range

    taking a different aproach
    Last edited by new2access123; 02-14-10 at 19:45.

  2. #2
    Join Date
    Feb 2004
    Location
    One Flump in One Place
    Posts
    14,912
    I don't understand how you came up with 4 but you can edit this as required:
    Code:
    SELECT SUM(Iif(33 BETWEEN AgeLowLimit	AND AgeHighLimit AND Male = "Yes", 1, 0) FROM MyTable
    Testimonial:
    pootle flump
    ur codings are working excelent.

Posting Permissions

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