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 / November 2007

Tip: Looking for answers? Try searching our database.

IIF

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Elainie - 09 Nov 2007 09:35 GMT
I have a field with yes/no, i would like to send an email if the field
= yes, i have done a macro to send the document to a member of staff,
but all the time, i want it sent when the field - yes only.

Any ideas?

Thanks

Elaine
Marco - 09 Nov 2007 10:09 GMT
Hi.

If you try, iif ([e-mail] = yes; acion here)

Marco

> I have a field with yes/no, i would like to send an email if the field
> = yes, i have done a macro to send the document to a member of staff,
[quoted text clipped - 5 lines]
>
> Elaine
John W. Vinson - 09 Nov 2007 22:22 GMT
>I have a field with yes/no, i would like to send an email if the field
>= yes, i have done a macro to send the document to a member of staff,
>but all the time, i want it sent when the field - yes only.

Just what are you sending? A report? A programmatically generated EMail?

You can use a Query with a criterion of

True

or (equivalently)

-1

on the yes/no field in order to select only those records.

            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.