Results 1 to 3 of 3
  1. #1
    MoeIndustries is offline Novice
    Windows 7 64bit Access 2010 32bit
    Join Date
    Aug 2015
    Posts
    12

    Null and 0 values

    Hello, I have a query feeding into a report. In the report I want to display any nill or 0 results as a dash "-".



    I'd like to write this into the report rather than the query (but if I have to I will write into the query).

    I've used the NZ function but it doesn't work!

    In the report against the property "Control source" I have [Unrestricted] so I tried =Nz([Unrestricted],0) but get nothing.

    How do I do this???

  2. #2
    ranman256's Avatar
    ranman256 is offline VIP
    Windows Vista Access 2010 32bit
    Join Date
    Apr 2014
    Location
    Kentucky
    Posts
    9,525
    DONT put it in the report, put it in the query. NZ does work.

  3. #3
    MoeIndustries is offline Novice
    Windows 7 64bit Access 2010 32bit
    Join Date
    Aug 2015
    Posts
    12
    Ah, OK. Here's the code I'm using and the result showing the nill NOT as 0.

    Click image for larger version. 

Name:	Untitledd.jpg 
Views:	4 
Size:	19.9 KB 
ID:	22925

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Null Values Still Showing Up
    By SpongebobKP in forum Queries
    Replies: 3
    Last Post: 10-08-2015, 06:55 AM
  2. Filter using OR when one of values is null
    By gg80 in forum Programming
    Replies: 5
    Last Post: 11-18-2014, 01:57 PM
  3. Replies: 7
    Last Post: 12-04-2013, 01:55 PM
  4. Finding the Max Date and Null Values if Null
    By SpdRacerX in forum Queries
    Replies: 1
    Last Post: 02-03-2012, 06:29 AM
  5. null values
    By ippy in forum Queries
    Replies: 3
    Last Post: 12-20-2010, 10:39 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums