I have a view that shows data on crystal reports, where I have fields such as tariff, rent, stocks, gross and net.My the problem is that someone changes the tariff in the database, it will show 2 rows of the same record with different rates, which is normal behavior from the point of view of the database, but I want to suppress the monthly rental field to 0 if the same identifier has a different tariff or the rental is repeated in a new record.
ID Tariff Rental 1 20 390 1 15 390
I want the Report Lease field to be suppressed if duplicates are based on an identifier. Currently, I used this formula in a crystal report to check previous field data and suppress if it repeats.
{DatabaseField} = Previous ({DatabaseField})
It works fine, but if the identifier does not match and the lease is repeated, then it will suppress what I do not want. I want it to suppress only the same identifier.
source share