S
Swansea Jack
I would very much appreciate help with a snag I have found. I need to prepare
a report for non-technical users. The report is based on a query that returns
a count for 5 possible 'values' (waiting, order received etc) in a status
field. Sometimes only 4 of the 5 'values' are present - this changes with
time, and according to the status of customers.
If only 4 values are present when I create the report then, sensibly, the
report only contains 4 'values'. If, later, there is an instance of the 5th
'value' the previously created report does not pick up the new 'value', since
the report format is now static. (If I now create a new report it will pick
up all values. However, the report also contains calculations etc that my
users would not be in a position to write for themselves, so I cannot expect
them to create a new report every time they need statistics).
I have created a report with all 5 'values' in it and added my calculations.
The problem here is that if one of the values is not present the report fails
to run and gives a Jet engine field unrecognised error. I have tried a few
permutations to override this, with something like an IsNull or
(Nz[categoryx],0) but have had no success, since as far as the report is
concerned the 'value' is not provided by the underlying query, and therefore
does not exist.
If I put in dummy records to provide all 5 'values' then the statistics are
up the spout.
I would be grateful for any other ideas. As an interim solution I am
importing data into a spreadsheet, which my users are able to manipulate.
Thanks in anticipation.
Swansea Jack
a report for non-technical users. The report is based on a query that returns
a count for 5 possible 'values' (waiting, order received etc) in a status
field. Sometimes only 4 of the 5 'values' are present - this changes with
time, and according to the status of customers.
If only 4 values are present when I create the report then, sensibly, the
report only contains 4 'values'. If, later, there is an instance of the 5th
'value' the previously created report does not pick up the new 'value', since
the report format is now static. (If I now create a new report it will pick
up all values. However, the report also contains calculations etc that my
users would not be in a position to write for themselves, so I cannot expect
them to create a new report every time they need statistics).
I have created a report with all 5 'values' in it and added my calculations.
The problem here is that if one of the values is not present the report fails
to run and gives a Jet engine field unrecognised error. I have tried a few
permutations to override this, with something like an IsNull or
(Nz[categoryx],0) but have had no success, since as far as the report is
concerned the 'value' is not provided by the underlying query, and therefore
does not exist.
If I put in dummy records to provide all 5 'values' then the statistics are
up the spout.
I would be grateful for any other ideas. As an interim solution I am
importing data into a spreadsheet, which my users are able to manipulate.
Thanks in anticipation.
Swansea Jack