dbTalk Databases Forums  

IFF function in access 2007: undefined function, why?

comp.databases.ms-access comp.databases.ms-access


Discuss IFF function in access 2007: undefined function, why? in the comp.databases.ms-access forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
Bob Quintal
 
Posts: n/a

Default Re: IFF function in access 2007: undefined function, why? - 01-02-2008 , 09:35 PM






kasparov11 <212marines (AT) gmail (DOT) com> wrote in news:6abee428-5c5c-4856-
b1c6-2a60f00ae63a (AT) u10g2000prn (...oglegroups.com:

Quote:
On Jan 2, 7:10*pm, kasparov11 <212mari... (AT) gmail (DOT) com> wrote:
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?

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



Reply With Quote
  #2  
Old   
kasparov11
 
Posts: n/a

Default IFF function in access 2007: undefined function, why? - 01-02-2008 , 10:10 PM






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

Reply With Quote
  #3  
Old   
kasparov11
 
Posts: n/a

Default Re: IFF function in access 2007: undefined function, why? - 01-02-2008 , 10:19 PM



On Jan 2, 7:10*pm, kasparov11 <212mari... (AT) gmail (DOT) com> 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
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?


Reply With Quote
  #4  
Old   
J_Goddard via AccessMonster.com
 
Posts: n/a

Default Re: IFF function in access 2007: undefined function, why? - 01-02-2008 , 10:25 PM



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



Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.