Re: Query won't accept 0
- From: "Douglas J. Steele" <NOSPAM_djsteele@xxxxxxxxxxxxxxxxx>
- Date: Tue, 26 Aug 2008 17:16:31 -0400
A query can't make up data. If there are no records for a given category,
Access has no way of knowing that that category exists.
If you've got a table that contains a single row for each of the categories,
you can join that table to the table listing categories using a Left Join.
In that way, there'll at least be one row (albeit with no category
information) for each category.
--
Doug Steele, Microsoft Access MVP
http://I.Am/DougSteele
(no private e-mails, please)
"CrownEquip-Jen" <CrownEquip-Jen@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:F0B985D1-9F07-43D4-BE29-513AF84BEF8C@xxxxxxxxxxxxxxxx
I have a query that if the criteria isn't met, it blows out the category
instead of making it a 0. The the report won't work. Example: My query
tallys
up how many "A", "B", and "C" priorities there are in the database. If
there
are none in a category, it just acts like that category doesn't exist. The
report is set up to look for "A", "B", and "C", so if one of them is
missing,
the whole report doesn't work. How can I get it to read as a "0"?
.
- Prev by Date: ask
- Next by Date: Re: Pass through query link oracle table to local access table
- Previous by thread: ask
- Next by thread: Re: Pass through query link oracle table to local access table
- Index(es):
Relevant Pages
|
Loading