IsNull

  • Thread starter Mike Will via AccessMonster.com
  • Start date
M

Mike Will via AccessMonster.com

I've tried and tried to rewrite the following section of my sql statement to
no avail using IsNull in place of Nz. I need to use this query in a web
application and must convert the Nz to IsNull.

IIf([OTHours]<10,Sum([OTHours]+Nz(([OTType]/1000000)+([OTRefusal]/10000000),0)


I've tried

IIf([OTHours]<10,Sum([OTHours]+IsNull(([OTType]/1000000)+([OTRefusal]
/10000000),0,([OTType]/1000000)+([OTRefusal]/10000000))


but receive the wrong number of argument error.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

IIf(IsNull) 2
DSUM() 0
Quarterly Overtime Hours 1
Union Query SQL 2
Using IIF to count the is not null records in a table 8
Quarterly Overtime Hours Reply 6
Query Help 0
Calculations being multiplied 1

Top