Help!
Cr 10, MS Access:
I have a fairly simple report relating to visits to addresses - where the visit has deemed to have failed a flag is checked. My crystal report filters only those failed.
I simply need a list where this has happened more than once in a specified date range.
I have data grouped as follows:
GH1 - Area
GH2 - Street
GH3 - House No
ANd I have the following running totals:
RT0 - count of house number reset on each change of house number - gives me any property which appears more than once
RT1 - Distinct count of house no, evaluated if Count of House No grouped by House No >1 and reset by street - gives me the number I want by street.
RT2 - Distinct Count of house number, evaluated again if Count of House No grouped by House No >1 and rest never
This is the problem - this should give me a sum of each rt1 in effect - all those failed more than once - and it works perfectly except for the last record.
If I suppress and view only RT1 I get:
GF2-9
GF2-3
GF2-2
GF2-5
GF2-1
RF-19
which to me adds up to 20. When I put RT2 in the details section I can see it increase as expected except for the last record - but if I change select criteria to only view the area this house is in - all totals work fine. Same if I filter out the anomalous road - the report still shows 19.
The RT0 shows an increase as it should, and the street total counts 1 as it should.
Any suggestions gratefully received.
CB
Cr 10, MS Access:
I have a fairly simple report relating to visits to addresses - where the visit has deemed to have failed a flag is checked. My crystal report filters only those failed.
I simply need a list where this has happened more than once in a specified date range.
I have data grouped as follows:
GH1 - Area
GH2 - Street
GH3 - House No
ANd I have the following running totals:
RT0 - count of house number reset on each change of house number - gives me any property which appears more than once
RT1 - Distinct count of house no, evaluated if Count of House No grouped by House No >1 and reset by street - gives me the number I want by street.
RT2 - Distinct Count of house number, evaluated again if Count of House No grouped by House No >1 and rest never
This is the problem - this should give me a sum of each rt1 in effect - all those failed more than once - and it works perfectly except for the last record.
If I suppress and view only RT1 I get:
GF2-9
GF2-3
GF2-2
GF2-5
GF2-1
RF-19
which to me adds up to 20. When I put RT2 in the details section I can see it increase as expected except for the last record - but if I change select criteria to only view the area this house is in - all totals work fine. Same if I filter out the anomalous road - the report still shows 19.
The RT0 shows an increase as it should, and the street total counts 1 as it should.
Any suggestions gratefully received.
CB