J
Jonathan Blitz
I have a report that produces a commission for our customers.
Each row has details of a sale plus commission paid.
In addition, each sale may have any number of notes. Each not on a new line.
The notes are stored in separate table that is indexed by the sale id.
In order to show the data I join the commissions table to the notes table
(Outer join).
So, in my report I get at least one line per sale but may get more than
one - if there are a number of notes.
What I need to know is how I:
1. Hide ALL the fields in the line except the notes field on any but the
first line in each sale.
2. Prevent the duplicated line (due to the join) being counted towards the
total commission.
Any ideas how to do this?
--
Jonathan Blitz
AnyKey Limited
Israel
"When things seem bad
Don't worry and shout
Just count up the times
Things have worked themselves out."
Each row has details of a sale plus commission paid.
In addition, each sale may have any number of notes. Each not on a new line.
The notes are stored in separate table that is indexed by the sale id.
In order to show the data I join the commissions table to the notes table
(Outer join).
So, in my report I get at least one line per sale but may get more than
one - if there are a number of notes.
What I need to know is how I:
1. Hide ALL the fields in the line except the notes field on any but the
first line in each sale.
2. Prevent the duplicated line (due to the join) being counted towards the
total commission.
Any ideas how to do this?
--
Jonathan Blitz
AnyKey Limited
Israel
"When things seem bad
Don't worry and shout
Just count up the times
Things have worked themselves out."