Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6562375
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T13:42:05+00:00 2026-05-25T13:42:05+00:00

In a report, I have to implement timespan fields (For example duration of an

  • 0

In a report, I have to implement timespan fields (For example duration of an activity). At the end of the report, a summary based on it should be included.
Neither Crystal Reports nor Active Reports support TimeSpan fields. I don’t want to use any formula or other workarounds. Simply just show the TimeSpan fields (like 1:45, 45:23, 0:30) and show the summary at the end (like 109:20).

Any suggestion?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T13:42:06+00:00Added an answer on May 25, 2026 at 1:42 pm

    It is difficult to say for sure without knowing more information such as why you don’t want to use formulas and whether this is a TimeSpan data type in SQL Server or it is stored in some other way in the database, or being calculating somehow (e.g. in application code), etc…

    Without more information though, a formula is the right way to solve this in ActiveReports as well as Crystal Reports. Since you need a summary, in ActiveReports (where I have the most experience) I’d say the best way to do this is bring in the timespan value as a single numeric value as number of minutes. This will allow you to use the normal no-code ActiveReports summarization features as described here.

    Then to format the number into the desired output text use a formula in the DataField property of the TextBox such as: =Math.Floor(Minutes/60) + ":" + (Minutes % 60). More information about using formulas in the DataField property is here and here.

    Scott Willeke
    GrapeCity
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

How to implement CEditListCtrl?. List control with edit capabality (Report/Grid view). I have a
On a report I have the following code for a field: =Sum([PartQty]*[ModuleQty]) Example results
I have a report in SSRS 2005 that's based on a query that's similar
I have crystal report and I need to convert it to text file. Currently
I have to implement a progressbar that show the progress of a report generation,
I have a page which gives user to generate report based on different filters
I have a report that uses a TChart that I am maintaining. One of
I have a report in SQL Server Reporting Services (SSRS) that I'd like to
I have a report in MS Access where the underlying data in the tables
I have a report that renders data returned from a stored procedure. Using profiler

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.