P
Pete VanDusen
Hi. I posted a question a couple days ago about returning
a zero for a null value (fish captured in nets), and was
told to use the Nz() function. I obviously dont have the
syntax right. Can someone show me an example of code that
does this and where the code actually goes. I assume its
typed into the "Field" under the given column in the
Design View of a Query. I'm still confused about how to
use SQL or what "controls on a form" means so help pages
that I've seen going that route haven't helped me.
For what its worth, here's what I have come up with:
ZEROCOUNT: Nz([GN Fishcount]![FISHCOUNT[,0]])
Specifically, I want to merge the FISHCOUNT variable from
the GN Fishcount query into my new table and call
it "ZEROCOUNT", where any null values are turned into
zero. By any null values, I mean specific entries that
have criteria met under other columns, but have no
observations under FISHCOUNT. Am I even on the right
track?!! Even code that already works for something else
would be useful if I could decompose it and figure out how
it works. Maybe I have to go into SQL or figure out
what "control on a form means"??
Thanks in advance....
a zero for a null value (fish captured in nets), and was
told to use the Nz() function. I obviously dont have the
syntax right. Can someone show me an example of code that
does this and where the code actually goes. I assume its
typed into the "Field" under the given column in the
Design View of a Query. I'm still confused about how to
use SQL or what "controls on a form" means so help pages
that I've seen going that route haven't helped me.
For what its worth, here's what I have come up with:
ZEROCOUNT: Nz([GN Fishcount]![FISHCOUNT[,0]])
Specifically, I want to merge the FISHCOUNT variable from
the GN Fishcount query into my new table and call
it "ZEROCOUNT", where any null values are turned into
zero. By any null values, I mean specific entries that
have criteria met under other columns, but have no
observations under FISHCOUNT. Am I even on the right
track?!! Even code that already works for something else
would be useful if I could decompose it and figure out how
it works. Maybe I have to go into SQL or figure out
what "control on a form means"??
Thanks in advance....