R rntkid Registered User. Local time Today, 06:27 Joined Mar 26, 2008 Messages 19 Apr 7, 2008 #41 I don't know how to write that kind of expression. Can you help me with that?
RuralGuy AWF VIP Local time Today, 07:27 Joined Jul 2, 2005 Messages 13,819 Apr 7, 2008 #42 Something like: Code: If IsDate(Me.txtWorkdayRecd) Then Me.txt2DayDue.Visible = True Me.txt27DayDue.Visible = True Me.txt30DayDue.Visible = True Else Me.txt2DayDue.Visible = False Me.txt27DayDue.Visible = False Me.txt30DayDue.Visible = False End If ...using your control names of course.
Something like: Code: If IsDate(Me.txtWorkdayRecd) Then Me.txt2DayDue.Visible = True Me.txt27DayDue.Visible = True Me.txt30DayDue.Visible = True Else Me.txt2DayDue.Visible = False Me.txt27DayDue.Visible = False Me.txt30DayDue.Visible = False End If ...using your control names of course.