Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Access Query_Form

Status
Not open for further replies.

Jimmy2128

Programmer
Feb 6, 2003
58
US
I have an access query that place an email into my form, my criteria is the following

IIf([Name].<>'',[dbo_Name].[EMAIL] & Chr(13) & Chr(10),'')

But , I have an additional field for the members that dont want to have their email publish. Does anyone could advice me the best way to not include those unwanted emails on my form...

Regards,

James
 
You don't say what the addtional field is for members that don't want their email published, but if it's a checkbox, then in the OnCurrent Event for your form, you can toggle the Visible property for your email field on and off based on the value in the other field.

Paul
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top