Connecting Tech Pros Worldwide Help | Site Map

IFF function in access 2007: undefined function, why?

 
LinkBack Thread Tools Search this Thread
  #1  
Old January 3rd, 2008, 02:15 AM
kasparov11
Guest
 
Posts: n/a
Default IFF function in access 2007: undefined function, why?

hello I am trying to use the iff function in a textbox in a report
like such: =Sum(if([prospdate]=[month1],[tcs],0))
but I get an error undefined function.

Kaspa

  #2  
Old January 3rd, 2008, 02:25 AM
kasparov11
Guest
 
Posts: n/a
Default Re: IFF function in access 2007: undefined function, why?

On Jan 2, 7:10*pm, kasparov11 <212mari...@gmail.comwrote:
Quote:
hello I am trying to use the iff function in a textbox in a report
like such: =Sum(if([prospdate]=[month1],[tcs],0))
but I get an error undefined function.
>
Kaspa
I meant =Sum(iff([prospdate]=[month1],[tcs],0)) I tried that too and
nothing works is this an 2007 issue? or am I missing a reference?
  #3  
Old January 3rd, 2008, 02:35 AM
J_Goddard via AccessMonster.com
Guest
 
Posts: n/a
Default Re: IFF function in access 2007: undefined function, why?

The function you want is iif(), not iff()

John


kasparov11 wrote:
Quote:
>hello I am trying to use the iff function in a textbox in a report
>like such: =Sum(if([prospdate]=[month1],[tcs],0))
>but I get an error undefined function.
>
>Kaspa
--
Message posted via AccessMonster.com
http://www.accessmonster.com/Uwe/For...ccess/200801/1

  #4  
Old January 3rd, 2008, 02:35 AM
Bob Quintal
Guest
 
Posts: n/a
Default Re: IFF function in access 2007: undefined function, why?

kasparov11 <212marines@gmail.comwrote in news:6abee428-5c5c-4856-
b1c6-2a60f00ae63a@u10g2000prn.googlegroups.com:
Quote:
On Jan 2, 7:10*pm, kasparov11 <212mari...@gmail.comwrote:
Quote:
>hello I am trying to use the iff function in a textbox in a
report
Quote:
Quote:
>like such: =Sum(if([prospdate]=[month1],[tcs],0))
>but I get an error undefined function.
>>
>Kaspa
>
I meant =Sum(iff([prospdate]=[month1],[tcs],0)) I tried that too
and
Quote:
nothing works is this an 2007 issue? or am I missing a reference?
>
It is not IF() and it is not IFF()

The function is IIF()

--
Bob Quintal

PA is y I've altered my email address.

--
Posted via a free Usenet account from http://www.teranews.com

 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Popular Articles

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over 220,989 network members.