Results 1 to 4 of 4
  1. #1
    Join Date
    Jan 2015
    Posts
    7

    a+b+c not simple

    Excuse my ignorance but I am trying to add the times in three columns into a fourth by this calculation



    GrossTime: ([StartTime]+[EntranceTime]+[PerformanceTime])

    Works OK when there is a value in each but there is not always a value in 'StartTime' and when this is the case it does not give me the value of the two other columns. What am I doing wrong?

  2. #2
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,530
    Wrap any value that could be Null in the Nz() function.
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  3. #3
    Join Date
    Jan 2015
    Posts
    7
    I would never have guessed. Brilliant, works a treat. Many thanks.

  4. #4
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,530
    Happy to help!
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

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

Similar Threads

  1. Need help with simple GUI
    By mackcess in forum Access
    Replies: 3
    Last Post: 07-07-2014, 11:51 AM
  2. Simple Msg Box
    By Derrick T. Davidson in forum Forms
    Replies: 3
    Last Post: 05-18-2013, 03:20 PM
  3. Hopefully simple If Then
    By fender357 in forum Programming
    Replies: 4
    Last Post: 05-09-2011, 07:52 PM
  4. Replies: 0
    Last Post: 10-21-2010, 08:24 AM
  5. Simple Export Not So Simple
    By jgelpi16 in forum Programming
    Replies: 11
    Last Post: 09-01-2010, 07:23 AM

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