From: Bob Vance on 10 Feb 2010 16:37 Can these 2 conditions be added together? Me!cmdSendMailButtonCI.Visible = Forms!frmMain!ckbShow2ndCompany Me.SendMailButtonCI.Visible = IIf(IsOwnerWithEmail(Nz(Me.cbOwnerName.Column(0), 0)) _ And IsEmailOn, True, False) -- Thanks in advance for any help with this......Bob MS Access 2007 accdb Windows XP Home Edition Ver 5.1 Service Pack 3
From: Bob Quintal on 10 Feb 2010 17:54 "Bob Vance" <rjvance(a)ihug.co.nz> wrote in news:#FBQkkpqKHA.728 @TK2MSFTNGP04.phx.gbl: > Can these 2 conditions be added together? > > Me!cmdSendMailButtonCI.Visible = Forms!frmMain!ckbShow2ndCompany > Me.SendMailButtonCI.Visible = > IIf(IsOwnerWithEmail(Nz(Me.cbOwnerName.Column(0), 0)) _ > And IsEmailOn, True, False) > Me!cmdSendMailButtonCI.Visible = _ (Forms!frmMain!ckbShow2ndCompany = true) AND _ IIf(IsOwnerWithEmail(Nz(Me.cbOwnerName.Column(0), 0)) _ And IsEmailOn, True, False) -- Bob Quintal PA is y I've altered my email address.
|
Pages: 1 Prev: install Office 2003 Student/Teacher edition to Windows 2000 Next: jeramie bellmay? |