Hello,
I have a query which lists all values in a table which contain 'Y' these values are then all added together using sum. I then have another query which takes these values and adds them to some others from a different table.
my queries output when containing a 'Y'
field1 field2 field3 field4
Y 13 2 26
my queries output when containing no 'Y'
field1 field2 field3 field4
My problem is when there is no values to add eg all 'N' values in the table, therefore outputs an empty query the calculation in the next query doesnt work!
what i want my query to output when containing no 'Y'
field1 field2 field3 field4
0 0 0 0
i hope someone can help
many thanks
iso
I have a query which lists all values in a table which contain 'Y' these values are then all added together using sum. I then have another query which takes these values and adds them to some others from a different table.
my queries output when containing a 'Y'
field1 field2 field3 field4
Y 13 2 26
my queries output when containing no 'Y'
field1 field2 field3 field4
My problem is when there is no values to add eg all 'N' values in the table, therefore outputs an empty query the calculation in the next query doesnt work!
what i want my query to output when containing no 'Y'
field1 field2 field3 field4
0 0 0 0
i hope someone can help
many thanks
iso