hi folks
still at this one
lockwelle - thanks for your reply. I gave up on sorting the report by the variable values. It would be nice to be able to do it but not critical for me in this instance so I didnt persevere.
I do have another problem to solve which Im hoping you folks may be able to help me with. My report works fine now but I'm being asked to nest this whole report as a subreport in a larger monthly end report that I have built. The idea is that management just want to see the bottom line on this profitability report i.e. just the totals.
I can do this by hiding each of the group headers and group footers below except for group 1 footer which has the salesperson totals which I am interested in.
Group1 header - by sales person
Group2 header- by Customer
Group3 header- by job > group3 header has subreport calculating total invoiced by job
Details - lists all invoices by job
Group3 footer has all of my job details, part num, est costs , act costs, Variable calling in the value from the subreport in the header section.
Group 2 footer - totals by customer
Group 1 footer - totals by salesperson.
THe problem I'm finding is, when I hide the output of group3 header, my total invoiced value is not calculated correctly (just outputs 0) this seems to be because my subreport for totalling what is invoiced is placed in the group 3 header.
The subreport does not seem to run if I hide or suppress this section. I tried to work around this by making it very small and colouring the font white but this is not ideal because I need to summarise this report down to one line and if this group header is visibile it has the same efffect as adding blank lines into the report.
Is this normal behavior that once the header is hidden that it would result in the subreport not running at all? I would have thought that the hide attribute would just affect the visibility of the section, that it should not stop it from running?
Is there some other trick I can use to hide this section?
thanks