Scorpion
02-23-2001, 11:49 AM
In a report, how do I tell Access to place a zero in a field if the field is blank.
|
View Full Version : Display Zero if Field IsNull Scorpion 02-23-2001, 11:49 AM In a report, how do I tell Access to place a zero in a field if the field is blank. dlgates 02-23-2001, 02:00 PM =iif(isnull([fieldname]),0,[fieldname]) Webmaster@worksnotfun.com 03-25-2002, 10:55 AM I tried this, on a report that is not running off a query, and I still get 1. Happy YN 03-26-2002, 03:07 AM look up nz fuction SiE 03-26-2002, 06:26 AM in the format for the cell on the report enter :- 0.00;;;0 the first option is the format of the field displaying. The end option is what appears if the field is null in this case 0. It could be 0.00% or even a string like N/A. hope this helps |