A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Setting Up & Running Reports
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Null values in List Boxes



 
 
Thread Tools Display Modes
  #1  
Old June 29th, 2004, 02:38 PM
external usenet poster
 
Posts: n/a
Default Null values in List Boxes

I have placed List boxes in a report that each show a sum
from seperate queries, but when there are no results from
the queries, the field is left blank in the report
(Null). I would like those convert those "Null" values to
display a "0".

I have tried to use the IIf function and Nz([control])
function in the query, but that doesn't work.

Is there some code I can use on the "on Format" property
of the detail section to, perhaps an If statement, to make
these controls display a "0" when they are null? Is this
possible with List boxes?

Thanks
  #2  
Old June 29th, 2004, 02:53 PM
Jeff Boyce
external usenet poster
 
Posts: n/a
Default Null values in List Boxes

Rather than using a listbox in a report, consider using a subreport.

--
Good luck

Jeff Boyce
Access MVP
 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Trying to list unique values in an arryay Dan S General Discussion 4 June 22nd, 2004 03:29 AM
Multible selection in list boxes Logi Huldar New Users 2 June 15th, 2004 12:49 PM
Blanks vs. Null values in Functions Worksheet Functions 1 October 17th, 2003 12:02 PM
list of values include old non valid data zeyad alhekail Worksheet Functions 1 October 16th, 2003 12:17 AM


All times are GMT +1. The time now is 08:58 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.