Results 1 to 3 of 3
  1. #1
    5 Star Lounger
    Join Date
    Jan 2005
    Posts
    614
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Crosstab field blank - want O values (Access2003)

    For the Report to show 0 if blank value what should I do for the crosstab query:
    TRANSFORM Count(qry_Recruitment_Summary_Report.DESCR1) AS CountOfDESCR1
    SELECT qry_Recruitment_Summary_Report.LAST_NAME, qry_Recruitment_Summary_Report.FIRST_NAME, Count(qry_Recruitment_Summary_Report.DESCR1) AS [Total Of DESCR1]
    FROM qry_Recruitment_Summary_Report
    GROUP BY qry_Recruitment_Summary_Report.LAST_NAME, qry_Recruitment_Summary_Report.FIRST_NAME
    PIVOT qry_Recruitment_Summary_Report.DESCR;
    THANKS

  2. #2
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: Crosstab field blank - want O values (Access2003)

    Try

    TRANSFORM Nz(Count(qry_Recruitment_Summary_Report.DESCR1),0) AS CountOfDESCR1
    ...

  3. #3
    5 Star Lounger
    Join Date
    Jan 2005
    Posts
    614
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Crosstab field blank - want O values (Access2003)

    Of course, Hans!~ LOL It worked! THANKS SO MUCH! You saved my day!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •