DannyDutch
Instructor
Hi All,
I'm using Crystal XI on a MS SQL 2000 database with an OLEDB connection.
I'm reading a table with purchase invoices.
I have create a formula named ITEMPRICE (amount/quantity) to divide the field 'amount' by the field 'quantity' to calculate the itemprice per item.
The report is grouped:
Group 1 by item
Group 2 by invoice
The formula ITEMPRICE is placed in Group Footer 2.
The report shows the following information:
Itemcode AAA
Invoice 123 $ 100
Invoice 456 $ 100
Invoice 789 $ 110
Actually I only need to see a result if the price is different then the previous price.
The result should look like:
Itemcode AAA
Invoice 123 $ 100
Invoice 789 $ 110
I've tried a formula in the section expert to suppress Group Footer 2 like:
if ITEMPRICE = previous(ITEMPRICE) then true
This results in the message:
"This field has no previous or next value"
Does anybody has a solution, it would be highly appreciated.
I'm using Crystal XI on a MS SQL 2000 database with an OLEDB connection.
I'm reading a table with purchase invoices.
I have create a formula named ITEMPRICE (amount/quantity) to divide the field 'amount' by the field 'quantity' to calculate the itemprice per item.
The report is grouped:
Group 1 by item
Group 2 by invoice
The formula ITEMPRICE is placed in Group Footer 2.
The report shows the following information:
Itemcode AAA
Invoice 123 $ 100
Invoice 456 $ 100
Invoice 789 $ 110
Actually I only need to see a result if the price is different then the previous price.
The result should look like:
Itemcode AAA
Invoice 123 $ 100
Invoice 789 $ 110
I've tried a formula in the section expert to suppress Group Footer 2 like:
if ITEMPRICE = previous(ITEMPRICE) then true
This results in the message:
"This field has no previous or next value"
Does anybody has a solution, it would be highly appreciated.