Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Handling Nulls in Aggregate Query

Status
Not open for further replies.

ClifCamp

Technical User
Jul 24, 2001
23
US
I have an aggregate query which pulls together calculation results from 4 different queries (each query provides a percentage). These four queries run off a table which changes monthly. Because of the nature of the data, one or more of the four queries may come up null in a particular month. The problem I am having is that if one of the four queries comes up null, then the aggregate query comes up null. Is there a way for the aggregate query to run despite the fact that one (or more) of the sub-queries is null? Thanks in advance for any suggestions.
 
Take a look at the Nz function.

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ222-2244
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top