473,387 Members | 1,532 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

IIf() - Nz()

rcollins
234 100+
I need to make this field in my report put 0 if null, but cant get it to work. Where do I put the iff?
OPBadAddressCountTable.ReturnedBadAddress
May 14 '09 #1
2 3127
ChipR
1,287 Expert 1GB
No iif needed. Simply do
Expand|Select|Wrap|Line Numbers
  1. Nz(variable, 0)
For reference: Nz Function
May 14 '09 #2
rcollins
234 100+
Thanks, did perfect. Your help is apprieciated
May 14 '09 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: SPAFA | last post by:
I am trying to convert this query to slq server 2000 and I cant figure out how to get rid of the IIF statements and make them case statements. If anyone could help I would greatly appreciate...
7
by: mark | last post by:
Access 2000: I creating a report that has a record source built by the user who selects the WHERE values. An example is: SELECT * FROM CHARGELOG WHERE STDATE Between #10/27/2003# And...
2
by: Ray | last post by:
I use the expression below in a crosstab query and it works fine. However, else where I would like to sum the four levels but on ocassions some of the levels are null. Can anyone tell me how to use...
1
by: Johm | last post by:
I have the following NZ function : UPDATE Products SET items = NZ(items,0) + " & Nz(Quantity, 0) This function sets the null values to zeroes for computational purposes. I want to test this ...
2
by: misschristalee | last post by:
I'm having a brain blockage day.... Scenario: Search Form with 6 text boxes Query has same six fields Each has this IIF: IIf(IsNull(!!),"",!!) with each dictating the correct text box of...
2
by: rdshultz | last post by:
using access 2000. Have a form based on a couple of controls, it finds the last used Inquiry number in a table. So it finds the highest Inquiry number for the "Office" , "Company" and "YearStamp"...
3
by: Chesne | last post by:
I'm trying to use IIF and having hasseles. The statement below is a generic example of what I am trying to achieve but of course it will not work! IIf(>=13,"1") Or IIf( Between 1 And 18,"1"...
3
by: BerkshireGuy | last post by:
Hello all. This expression is in my query and it works well. However, if both continues are false, I want it to say "Not Yet Issued". I've added that and getting an #ERROR. Any ideas? ...
1
by: Chesne | last post by:
I am trying to return several value in and IF in a query statement. The generic is as follows... =IIf(!!=10,Between 1 and 10,"") Can anyone help with the "Between" part. I realise that it...
40
by: chhines | last post by:
I have a very long IIf statement. I think maybe I've reached the limit of how many choices you can have in the control source "Build" statement of a text box on a form. Really, the IIF statement is...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.