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

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top