PC Review


Reply
Thread Tools Rate Thread

crystal reports: summary fields

 
 
Andrew
Guest
Posts: n/a
 
      9th Dec 2003
Hi all, hope this isn't too off topic...
My report accesses a database which holds infomation on http requests
from our intranet. Each record has a user, date, time and size of
transfer. I already have a working report which displays daily
summaries of the size transfered, and a link to a subreport for that
day.

In the subreport I linked the username and date parameters to the
record selection, and that works fine. I supressed the details
section, and placed my 00:00-00:15, 00:15-00:30... labels in the
header for the username group, so they don't all appear for every
record. I need a way to sum only those records which are in a
specified time bracket. I don't mind writting a function for each
bracket, but I don't know how to step through each record in the
function.

If there's another way, or anyone has any help, thanks in advance.
Hope I explained this ok,
Andrew Fray.
 
Reply With Quote
 
 
 
 
EricJ
Guest
Posts: n/a
 
      9th Dec 2003
hmm, hope this helps a bit (fearing for it)
i would suggest trying w the details first, create an extra group and play w
that, if you got it working w the details showing, hide the details, don't
suppress them yust hide them.

you might want to try your luck on microsoft.public.vb.crystal 2


"Andrew" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Hi all, hope this isn't too off topic...
> My report accesses a database which holds infomation on http requests
> from our intranet. Each record has a user, date, time and size of
> transfer. I already have a working report which displays daily
> summaries of the size transfered, and a link to a subreport for that
> day.
>
> In the subreport I linked the username and date parameters to the
> record selection, and that works fine. I supressed the details
> section, and placed my 00:00-00:15, 00:15-00:30... labels in the
> header for the username group, so they don't all appear for every
> record. I need a way to sum only those records which are in a
> specified time bracket. I don't mind writting a function for each
> bracket, but I don't know how to step through each record in the
> function.
>
> If there's another way, or anyone has any help, thanks in advance.
> Hope I explained this ok,
> Andrew Fray.



 
Reply With Quote
 
Andrew
Guest
Posts: n/a
 
      10th Dec 2003
"EricJ" <ericRé(E-Mail Removed)> wrote in message news:<3fd5d183$0$27234$(E-Mail Removed)>...
> hmm, hope this helps a bit (fearing for it)
> i would suggest trying w the details first, create an extra group and play w
> that, if you got it working w the details showing, hide the details, don't
> suppress them yust hide them.
>
> you might want to try your luck on microsoft.public.vb.crystal 2
>
>
> "Andrew" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
> > Hi all, hope this isn't too off topic...
> > My report accesses a database which holds infomation on http requests
> > from our intranet. Each record has a user, date, time and size of
> > transfer. I already have a working report which displays daily
> > summaries of the size transfered, and a link to a subreport for that
> > day.
> >
> > In the subreport I linked the username and date parameters to the
> > record selection, and that works fine. I supressed the details
> > section, and placed my 00:00-00:15, 00:15-00:30... labels in the
> > header for the username group, so they don't all appear for every
> > record. I need a way to sum only those records which are in a
> > specified time bracket. I don't mind writting a function for each
> > bracket, but I don't know how to step through each record in the
> > function.
> >
> > If there's another way, or anyone has any help, thanks in advance.
> > Hope I explained this ok,
> > Andrew Fray.


found an obvious answer that works - shared variables. Supress
details section, but add one function feild per time span required (eg
15 minute block). This function field initiates a shared var for that
chunk if onfirstrecord, otherwise adds the feild from that record to
that var. Then you need another function feild in a footer to display
that chunk's shared var. Long-winded, but effective.

Cheers anyway,
Andrew Fray
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to add summary fields to Group Footer in Access Reports? =?Utf-8?B?UGF0IERvb2xz?= Microsoft Access Reports 2 2nd Jun 2007 06:21 PM
Crystal Reports - Average of two fields amit Microsoft Dot NET 1 15th Oct 2006 02:43 PM
Crystal Reports - Average of two fields amit Microsoft VB .NET 1 14th Oct 2006 04:50 PM
Crystal Reports fields missing on some reports =?Utf-8?B?VGhvbWFz?= Microsoft Dot NET 2 20th Apr 2004 02:16 PM
Formula fields in Crystal Reports Michelle Stone Microsoft ASP .NET 0 10th Jan 2004 09:56 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 09:44 AM.