Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Access/ unable to get NZ working in a cross tab 1

Status
Not open for further replies.

nover11

Technical User
Apr 28, 2015
5
US
I created a crosstab to run days in office. If they take time off it gives a value, if they are in all day it leaves it blank. I would like to return a zero showing that they were in the office that day. I used Sum(Val(Nz([Subject],0))). In the total tab I used expression. Still blanks!

May i have some help please
Thank you
'
 
Son of a biscuit, i posted the wrong sql. sorry about that [nosmiley]

TRANSFORM Sum(Val(Nz([Subject],0))) AS Out
SELECT tblOutOfOffice.Assigned
FROM tblOutOfOffice
GROUP BY tblOutOfOffice.Assigned
PIVOT tblOutOfOffice.Date;

Thank you
 
What about this ?
TRANSFORM Nz(Sum([Subject]),0) AS Out

Hope This Helps, PH.
FAQ219-2884
FAQ181-2886
 
OH SNAP! It worked great, thank you PH![medal]

Thanks again
~Nover11
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top