HELP! Getting a empty field to populate with a zero value. (example included)

  • Thread starter Thread starter JT
  • Start date Start date
J

JT

I have a query thats looks at another query and pulls data that
matches a selected fields. Three fields always have data but the
fourth may or may not. Currently I get a blank cell and I need this
cell to be a zero value when empty. Can I write the query to do this
or how do I do this?
Example:

Select [query1].valueA, [query1].valueB, [query1].valueC,
[query2].valueD

From [query1] left join [query2] on [query1].valueA and
[query1].valueB and [query1].valueC and [query2].valueD

Group by 1,2,3,4

[query2].valueD is the field that may or may not have data.
 
Back
Top