Page 2 of 2 FirstFirst 12
Results 16 to 20 of 20
  1. #16
    desireemm1 is offline Advanced Beginner
    Windows XP Access 2007
    Join Date
    Aug 2009
    Posts
    50
    I have to give the difference between when the time the call was taken and when the call was returned in hours. that way they can see how long it takes to return a customers call



  2. #17
    desireemm1 is offline Advanced Beginner
    Windows XP Access 2007
    Join Date
    Aug 2009
    Posts
    50
    the problem is solved thank you so much guys I really appreciate it.

    TotalHours: DateDiff("h",[Date & Time Left],[Date Returned])

  3. #18
    June7's Avatar
    June7 is online now VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,601
    Why is [Date Returned] a text field?
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  4. #19
    desireemm1 is offline Advanced Beginner
    Windows XP Access 2007
    Join Date
    Aug 2009
    Posts
    50
    is not anymore and I'm not sure. I do have another question, if I need to calculate each call per hour (based off the [Date & Time Left] field)
    example:

    6am 5calls
    7am 6calls

    how exactly would I do that? I have to do that in a report

    Code:
    SELECT [Message Tracking].Caller, [Message Tracking].[Customer Type], [Message Tracking].[Date Returned], [Message Tracking].ID, [Message Tracking].[Request ID], [Message Tracking].[Date & Time Left], Sum([Message Tracking].[Date & Time Left]) AS [SumOfDate & Time Left]
    FROM [Message Tracking]
    GROUP BY [Message Tracking].Caller, [Message Tracking].[Customer Type], [Message Tracking].[Date Returned], [Message Tracking].ID, [Message Tracking].[Request ID], [Message Tracking].[Date & Time Left]
    HAVING ((([Message Tracking].[Date & Time Left]) Between [Beginning_Date & Time Left] And [End_Date & Time Left]));

  5. #20
    June7's Avatar
    June7 is online now VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,601
    Need to extract the hour part of the date/time and use that as grouping/sorting criteria.

    Hour([Date & Time Left])
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

Page 2 of 2 FirstFirst 12
Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 5
    Last Post: 07-24-2014, 07:54 AM
  2. Replies: 8
    Last Post: 07-07-2014, 11:21 AM
  3. Replies: 5
    Last Post: 09-11-2013, 03:42 PM
  4. Replies: 42
    Last Post: 03-01-2013, 06:58 AM
  5. Replies: 0
    Last Post: 08-07-2008, 07:02 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