Results 1 to 2 of 2
  1. #1
    techexpressinc's Avatar
    techexpressinc is offline Competent Performer
    Windows XP Access 2010 32bit
    Join Date
    Dec 2008
    Indiana, USA

    query - criteria based on another row field value

    I would like this field
    TRAVEL TIME VALUE: [Export_Data]![TIME-SA]

    to be zero un-less another field
    Activity Type_SA is eqaul to "Travel"

    Anyone know how could I code this???

    attached is a screen image of the query

    Thanks in advance.


  2. #2
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 10 Access 2013 32bit
    Join Date
    Mar 2007
    8300' in the Colorado Rocky Mountains
    The Immediate If (IIF) works in a query. It is not a good idea to have embedded spaces an any name in Access.

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

Similar Threads

  1. Changing font color based on criteria
    By Pattie Weaver in forum Reports
    Replies: 5
    Last Post: 11-02-2010, 03:38 PM
  2. Replies: 0
    Last Post: 04-17-2008, 09:24 AM
  3. Replies: 1
    Last Post: 10-26-2007, 07:29 AM
  4. Counting records based on specified criteria
    By GrnISSO in forum Queries
    Replies: 2
    Last Post: 10-04-2007, 03:07 PM
  5. Open form based on Subform criteria
    By Suzan in forum Programming
    Replies: 0
    Last Post: 04-25-2006, 02:28 PM

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