Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

I have a report that shows teach ti

Status
Not open for further replies.

puforee

Technical User
Oct 6, 2006
741
US
I have a report that shows teach time valuces in the detail portion of the screen. The teaching time for each subject is in the format of Short Time. So it would look like this as an example...7:30.

In the report Header I inserted a Text box with the Control Source =Sum([Teach Time]). I set the Format of the Text box control to Short Time.

I am not getting the correct total for all the teach times shown on the Detail screen.

What am I doing wrong?
 
No...It comes is from a Table.

Any thoughts?
 
MajP,

I recreated the report with the Report wizard. When I select Summary items it did not show Teach Time. Evidently the format is not recognized as a mathematical fields. So...in the Reports underlying query I calculated two new fields Hours:Hour([Teach Time]) and Minutes:Minutes([Teach Time])

These fields worked and when the Report Wizard was run, they were recognized as Summary items.

Now all I have to do is convert the minutes to hours and minutes and add the conversion hours to the hours field. That way minutes will always be less than 60.

I think this will be easy.

Anyway, thanks for listening...have a good day.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top