Bennie47250
Programmer
Using Crystal 7.0
Having a problem with a one to many relationship.
Linking our order file (one side) to a notes file (many side) an order can have 0 to 15 notes.
To suppress the duplicate order records I have created a group that groups by the product number (from the order file) and put the record in the group header. That took care of returning to many records.
In the group header I’m showing the qty purchased and the selling price of the item and them I calculate the total for that line (qty * price) (Formula named LineTotal).
For this example I have 2 line items we are selling one is $10 And the other is $20
To show the grand total for the order, I right mouse clicked on the Line Total and selected Insert Grand Total but the grand total is showing $90 as the order has 3 lines of notes.
How would I go about showing the correct total of only $30?
Thanks
Bennie47250
Having a problem with a one to many relationship.
Linking our order file (one side) to a notes file (many side) an order can have 0 to 15 notes.
To suppress the duplicate order records I have created a group that groups by the product number (from the order file) and put the record in the group header. That took care of returning to many records.
In the group header I’m showing the qty purchased and the selling price of the item and them I calculate the total for that line (qty * price) (Formula named LineTotal).
For this example I have 2 line items we are selling one is $10 And the other is $20
To show the grand total for the order, I right mouse clicked on the Line Total and selected Insert Grand Total but the grand total is showing $90 as the order has 3 lines of notes.
How would I go about showing the correct total of only $30?
Thanks
Bennie47250