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 / February 2008

Tip: Looking for answers? Try searching our database.

IIF function

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
JJ - 20 Feb 2008 17:35 GMT
Please help me set up the following calculated field.  Need a calculated
field that equals Active if the MembershipStatus field is equal to Active and
equals Not Active otherwise.
Signature

jj

fredg - 20 Feb 2008 17:48 GMT
> Please help me set up the following calculated field.  Need a calculated
> field that equals Active if the MembershipStatus field is equal to Active and
> equals Not Active otherwise.

NewColumn:IIf([MembershipStatus] = "Active","Active","Not Active")
Signature

Fred
Please respond only to this newsgroup.
I do not reply to personal e-mail

JJ - 20 Feb 2008 18:05 GMT
Its asking me to enter a parameter value for membership.
Signature

jj

> > Please help me set up the following calculated field.  Need a calculated
> > field that equals Active if the MembershipStatus field is equal to Active and
> > equals Not Active otherwise.
>
> NewColumn:IIf([MembershipStatus] = "Active","Active","Not Active")
BruceM - 20 Feb 2008 19:04 GMT
Where did membership come from?  Is it the same as MembershipStatus?  If so,
are there any criteria for the field?  In any case, is it spelled correctly?
Is this in a form or in a report?  If it is in a report, add a
MembershipStatus text box to the report.  Make it invisible if you wish.

> Its asking me to enter a parameter value for membership.
>
[quoted text clipped - 5 lines]
>>
>> NewColumn:IIf([MembershipStatus] = "Active","Active","Not Active")
John W. Vinson - 20 Feb 2008 17:57 GMT
>Please help me set up the following calculated field.  Need a calculated
>field that equals Active if the MembershipStatus field is equal to Active and
>equals Not Active otherwise.

IIF([MembershipStatus] = "Active", "Active", "Not Active")
Signature

            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.