Linked count queries / One null query blanks out all the rest.

aldo

Registered User.
Local time
Yesterday, 17:22
Joined
Nov 18, 2006
Messages
10
Hi all,

I've tried the ‘is null, '=0" and ‘nz’ routines on the Count(Tablename.Fieldname)'s, but can't seem ‘to get them to output a value of 0 in the null fields. I must be doing something wrong. Any and all help would be very much appreciated.


Thanks much,
aldo
 
Last edited:
I approach these type of queries with the view I want something rather than nothing. So in my subordinate queries starting from (your Example) Household so that HouseholdID is in every query and Left Joined to Members etc. Evaluate what to do with Nulls perhaps zero. It not longer matters whether or not the tables are populated.

Simon
 
Thanks Simon.

I was hoping for a simple fix here. Not a problem though. I reworked the query and broke it down into a few separate queries and it works great now.

-aldo
 

Users who are viewing this thread

Back
Top Bottom