Todd, when I am faced with mult-level sorts or groups with aggregates, I
create calculated fields to combine the several fields into one -
Custnumber+PartNumber. Then I do the prepass aggregate with reset on the
calculated field. This method sometimes makes the seemingly impossible quite
easy.
Regards
Jim Stetter
-----Original Message-----
From: Todd Caughey [mailto:caugheyt@...]
Sent: Thursday, January 25, 2001 9:49 AM
To: 'vantage@egroups.com'
Subject: [Vantage] My RB Comeuppance
I thought I was getting pretty good at Report Builder until I ran across
the
following to put me in my place.
I have a report which totals job value & costs to derive margin. Sorted
and
grouped by customer and part to show total for parts (all closed jobs for
a
part) within customer (and totals for customer too). We get away with
this
because of 1-to-1 relationship of part to customer (job-shop). Everything
is fine so far. Now our VP wants parts sorted descending by margin $ (an
aggregate) - best margin part to worst within each customer. Like:
Customer
Best Part margin (aggregate of all jobs for part)
Worst part margin " " " " " "
Customer....
Because margin is a pre-pass aggregate derived value at the Part level RB
is
not allowing sorting on the resulting margin value. I can easily sort on
part margin at the top level (a different report) for all parts but not
within customer. Before I waste another day on a task that might be
impossible I thought I'ld check the experts. Seems to me I would need a
3rd
pass similar to the way I wrote this same report in COBOL for Clasic. Is
there an RB equivalent to Crystal sub-reports?
Thanks,
-Todd Caughey
Harvey Vogel Mfg. Co.
[Non-text portions of this message have been removed]
eGroups Sponsor
www.
To unsubscribe from this group, send an email to:
vantage-unsubscribe@egroups.com
[Non-text portions of this message have been removed]
create calculated fields to combine the several fields into one -
Custnumber+PartNumber. Then I do the prepass aggregate with reset on the
calculated field. This method sometimes makes the seemingly impossible quite
easy.
Regards
Jim Stetter
-----Original Message-----
From: Todd Caughey [mailto:caugheyt@...]
Sent: Thursday, January 25, 2001 9:49 AM
To: 'vantage@egroups.com'
Subject: [Vantage] My RB Comeuppance
I thought I was getting pretty good at Report Builder until I ran across
the
following to put me in my place.
I have a report which totals job value & costs to derive margin. Sorted
and
grouped by customer and part to show total for parts (all closed jobs for
a
part) within customer (and totals for customer too). We get away with
this
because of 1-to-1 relationship of part to customer (job-shop). Everything
is fine so far. Now our VP wants parts sorted descending by margin $ (an
aggregate) - best margin part to worst within each customer. Like:
Customer
Best Part margin (aggregate of all jobs for part)
Worst part margin " " " " " "
Customer....
Because margin is a pre-pass aggregate derived value at the Part level RB
is
not allowing sorting on the resulting margin value. I can easily sort on
part margin at the top level (a different report) for all parts but not
within customer. Before I waste another day on a task that might be
impossible I thought I'ld check the experts. Seems to me I would need a
3rd
pass similar to the way I wrote this same report in COBOL for Clasic. Is
there an RB equivalent to Crystal sub-reports?
Thanks,
-Todd Caughey
Harvey Vogel Mfg. Co.
[Non-text portions of this message have been removed]
eGroups Sponsor
www.
To unsubscribe from this group, send an email to:
vantage-unsubscribe@egroups.com
[Non-text portions of this message have been removed]