Results 1 to 3 of 3
  1. #1
    KarenWilson is offline Novice
    Windows XP Access 2003
    Join Date
    Jun 2010
    Posts
    4

    If and Query

    Hello


    I want to create a query in which 2 criteria need to be meet
    I need the query to say if Stock is null and repair is >0 then stock = 05* repair
    Thanks for any help you are able to give
    Karen

  2. #2
    Join Date
    Jun 2010
    Location
    Belgium
    Posts
    1,180
    Hi Karen

    try something like

    Iif(Nz([Stock],0) = 0 and [Repair] > 0, [Repair] * 5,0)

    NG

  3. #3
    KarenWilson is offline Novice
    Windows XP Access 2003
    Join Date
    Jun 2010
    Posts
    4
    Thanks
    Works with an added else statement fine
    Karen

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