Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

If IsNull syntax in a query

Status
Not open for further replies.

SDS100UK

MIS
Jul 15, 2001
185
GB
Hi,

I hope this is a really simply question.

I used if isnull in a query to replace empty field records with a 0.

But I xcannot seem to get it to work.

What I want to say is
if (isnull(calls),0,calls)

but it keeps erroring.

What am i doing wrong?

Many thanks in advance

Steven
 
DOH!!!

I remember now....i used ut yrs ago and IIF is the answer....thankz Rudy!!!
 
You may also want to look into the Nz function, just search for it in the Access help for an explanation. Just another option to consider.

JR
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top