R
Robin9876
In a crosstab query that has the column heading set to customer name
with a where clause a parametrised date range and sums the total
orders. This is then used as a sub query in another standard query and
there is only a few customers.
When a date range is used that a particular customer has not placed
any orders the customer name does not appear as a field in the
crosstab query and therefore can not be used in the other query.
Is it possible to code either of the queries so that if any of the
known field names does not exist it returns a 0 value for the sum.
with a where clause a parametrised date range and sums the total
orders. This is then used as a sub query in another standard query and
there is only a few customers.
When a date range is used that a particular customer has not placed
any orders the customer name does not appear as a field in the
crosstab query and therefore can not be used in the other query.
Is it possible to code either of the queries so that if any of the
known field names does not exist it returns a 0 value for the sum.