Re: Convert minutes to hours and minutes in printed report
From: KevinW (belkur_at_msn.com)
Date: 07/29/04
- Next message: Nancy: "Re: Formating when importing RPT as DSR"
- Previous message: Nancy: "Re: Overlapping two graphs in crystal reports"
- In reply to: Rob Diamant: "Re: Convert minutes to hours and minutes in printed report"
- Next in thread: Nancy: "Re: Convert minutes to hours and minutes in printed report"
- Reply: Nancy: "Re: Convert minutes to hours and minutes in printed report"
- Messages sorted by: [ date ] [ thread ]
Date: 28 Jul 2004 17:50:20 -0700
"Rob Diamant" <rob@usi.com> wrote in message news:<ud2gAdLdEHA.1000@TK2MSFTNGP12.phx.gbl>...
> Kevin try this formula:
>
> cTime (Truncate (90 / 60), Remainder (90, 60), 0)
>
> Rob
>
> "KevinW" <belkur@msn.com> wrote in message
> news:ffdfa1fa.0407280429.7a6e02d3@posting.google.com...
> > I have vb.net program which does billing. One column in the database
> > has the number of minutes spent on a project. In vb.net I can convert
> > this to hours and minutes (e.g. 90 converts to 1:30), however, I need
> > to do this in Crystal when I print the report. Right now I have
> > Crystal connect to the dataset to get this column which it does
> > without a problem. Thus what I need to do is have Crystal do the
> > conversion into minutes. Ideally I would like it to examine each entry
> > to determine if it is greater than 59 and then do the conversion.
> > This seems like a formatting issue but I can't find a way to do it.
You are correct, I want a string such as "1:20" meaning 1 hour and 20
minutes, not 1:20 pm. However, my question is where do I insert the
formula? Do I somehow use the format editor or some other report
expert. Just starting on CR so this in not particularly clear.
Thanks.
- Next message: Nancy: "Re: Formating when importing RPT as DSR"
- Previous message: Nancy: "Re: Overlapping two graphs in crystal reports"
- In reply to: Rob Diamant: "Re: Convert minutes to hours and minutes in printed report"
- Next in thread: Nancy: "Re: Convert minutes to hours and minutes in printed report"
- Reply: Nancy: "Re: Convert minutes to hours and minutes in printed report"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|