Results 1 to 7 of 7
  1. #1
    chivo123 is offline Novice
    Windows 2K Access 2010 64bit
    Join Date
    Jan 2012
    Posts
    24

    Exclamation Quick Question

    Hey all,


    So I have converted the hours:min:seconds to all minutes by using this formula:
    Total StafTotal Staff Time: IIf([calls handled]=0,0,(Hour([Total Inbound Talk Time])*60+Minute([Total Inbound Talk Time])+Second([Total Inbound Talk Time])+Hour([Total Outdial Talk Time])*60+Minute([Total outdial Talk Time])+Second([Total outdial Talk Time])+Hour([Total Outdial Wrap up Time])*60+Minute([Total Outdial Wrap up Time])+Second([Total Outdial Wrap up Time])+Hour([Total Inbound Hold Time])*60+Minute([Total Inbound Hold Time])+Second([Total Inbound Hold Time])+Hour([Total Inbound wrap up time])*60+Minute([Total Inbound wrap up time])+Second([Total Inbound wrap up time]))/[Calls Handled])

    Is there an easier formula, so I can be able to save this to table?? I can't be able to add this formula to my table because it's very complex.

  2. #2
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 7 64bit Access 2010 32bit
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    Are the 4 fields all DateTime fields? You seem to be converting to minutes but then you add the seconds as if they were minutes. How about a UserDefinedFunction. It would be a lot easier to read and maintain.

  3. #3
    chivo123 is offline Novice
    Windows 2K Access 2010 64bit
    Join Date
    Jan 2012
    Posts
    24
    Hello,
    Thanks for responding back. All of them are except for calls handled. It's a number. Other three of them are in hours:minutes:seconds.

  4. #4
    chivo123 is offline Novice
    Windows 2K Access 2010 64bit
    Join Date
    Jan 2012
    Posts
    24
    Also, how do i do UserDefinedFunction?

  5. #5
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 7 64bit Access 2010 32bit
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    Quote Originally Posted by chivo123 View Post
    Also, how do i do UserDefinedFunction?
    This link should get you started: http://www.baldyweb.com/Function.htm
    BTW...you still have the issue of adding in the seconds as if they were minutes.

  6. #6
    chivo123 is offline Novice
    Windows 2K Access 2010 64bit
    Join Date
    Jan 2012
    Posts
    24
    This link doesn't even relate to my question.. I just want to convert the formula above to seconds. I have changed them to minutes, but I would like to see if there another easier way to change it to minutes or seconds. Please don't post something irrelevant to what i'm asking.

  7. #7
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 7 64bit Access 2010 32bit
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    The link I posted was how to create a Function which was the last question you asked.

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

Similar Threads

  1. Quick Question!
    By kp123 in forum Access
    Replies: 1
    Last Post: 12-12-2011, 02:21 PM
  2. Quick SQL Query question.
    By Suoipoc in forum Access
    Replies: 4
    Last Post: 09-06-2011, 09:10 PM
  3. Quick question for all of those who use Access
    By claytonkeirns in forum Access
    Replies: 1
    Last Post: 09-06-2011, 04:04 PM
  4. Quick Module Question: :)
    By oregoncrete in forum Modules
    Replies: 11
    Last Post: 04-04-2011, 04:42 PM
  5. Quick Question
    By Imgsolutions in forum Access
    Replies: 3
    Last Post: 07-19-2010, 11:22 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