Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / Queries / July 2007

Tip: Looking for answers? Try searching our database.

ignoring the falsepart in IIF Function

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
steveh65@yahoo.com - 12 Jul 2007 03:22 GMT
can someone please help me with this IIF Function in a Query.  I want
to write an IIF statement that only performs an action if the truepart
= true.  If the truepart = false then I want the statement to perform
no action.  is this possible using iif statement.  If it is not then
is there another Access function that will give me the desired
results.

Thanks
Steve
John W. Vinson - 12 Jul 2007 03:53 GMT
>can someone please help me with this IIF Function in a Query.  I want
>to write an IIF statement that only performs an action if the truepart
[quoted text clipped - 5 lines]
>Thanks
>Steve

What's the context, Steve? An IIF statement in a query doesn't PERFORM
anything - it returns a value. If you want it to return a NULL value, do so:

IIF(<condition>, <value if true>, NULL)

If you want to "perform an action", please explain.

            John W. Vinson [MVP]
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.