Results 1 to 2 of 2
  1. #1
    stu_C is offline Advanced Beginner
    Windows XP Access 2003
    Join Date
    Mar 2010
    Posts
    38

    Sum in Query

    Hi all
    in a query I have simple sum to work out how many miles till a service



    MilageLeftTillService: nz([ServiceMilage])-nz([CurrentMilage])

    in the query I want it to pick up when there is a 1000miles or less to go till service.

    in the criteria I have put in <="1000" but its not picking them up it shows everything and not sure why?

  2. #2
    rpeare is offline VIP
    Windows XP Access 2003
    Join Date
    Jul 2011
    Posts
    5,442
    you're comparing it to a text value not a number value

    try <=1000

Please reply to this thread with any new information or opinions.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums