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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to display the whole hours of a day ?

Status
Not open for further replies.

akinia

Programmer
Nov 23, 2000
69
BE
Hi everybody,

I've a report which must be grouped by Hour, but I only have a "datefield" to get the data, like 01/05/2000;

For the moment I've made a formula field per Hour and a group per Formula field.

Does someone know a better way to do ?

Thanks for your answers.


 
What version of SCR are you using? Malcolm
wynden@telus.net
November is "be kind to dogs and programmers" month. Or is that "dogs or programmers"?
 
Hi Malcolm,

My SCR version is 6.

Thanks for you answer.

akinia
 
The method that you have chosen will work, but will not be very fast. If the database is large and/or the report is complex and/or the users are impatient, this could be a problem.
To improve performance, you would have to do the grouping by hour at the database side, rather than in SCR. Depending on your database, you could use Crystal Query, stored procedures, views, or ADO. Malcolm
wynden@telus.net
November is "be kind to dogs and programmers" month. Or is that "dogs or programmers"?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top