N
Nikki Rosner
Ok, I'm trying to create a report in Access XP from two queries. One
query tells me the ID, state and sum of the employees per state. The
other query tell me the same thing, except the sum of vehicles per
state. There are states where there are employees but no vehicles,
and of course, the report only spits out states where there's values
for both sums of employees and vehicles. I know about the Nz
function, but need to know how to properly use it. I need an
explenation a child could understand, since I've been searching Google
groups for hours and just can't seem to find MY answer. Ok, while in
the SQL Statement of my report, the columns are "ID", "State Name",
"Sum Of NO OF EMPLOYEES" and "Sum Of VEHICLE COUNT". When I go into
the SQL Statement of the report, exactly where do I type in the Nz
function and how do I word it? I tried: Nz([Sum Of VEHICLE COUNT], 0)
in the criteria line of the "Sum Of NO OF EMPLOYEES" column, but I
don't get the results I'm expecting. Please, someone... HELP!!!
query tells me the ID, state and sum of the employees per state. The
other query tell me the same thing, except the sum of vehicles per
state. There are states where there are employees but no vehicles,
and of course, the report only spits out states where there's values
for both sums of employees and vehicles. I know about the Nz
function, but need to know how to properly use it. I need an
explenation a child could understand, since I've been searching Google
groups for hours and just can't seem to find MY answer. Ok, while in
the SQL Statement of my report, the columns are "ID", "State Name",
"Sum Of NO OF EMPLOYEES" and "Sum Of VEHICLE COUNT". When I go into
the SQL Statement of the report, exactly where do I type in the Nz
function and how do I word it? I tried: Nz([Sum Of VEHICLE COUNT], 0)
in the criteria line of the "Sum Of NO OF EMPLOYEES" column, but I
don't get the results I'm expecting. Please, someone... HELP!!!