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 SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

I have a text box linked to a date

Status
Not open for further replies.

Bullsandbears123

Technical User
Feb 12, 2003
291
0
0
US
I have a text box linked to a date field and when this runs it does not seem to work. eventdate.value does = null but it acts like it does not = Null. Any ideas?

me.eventdate.value is a date field

If Me.Eventdate.value = Null Then
Me.txtnextdate.Enabled = False
Else
Me.txtnextdate.Enabled = True

End If
 
Instead of using 'If value=Null', use 'If IsNull(value)'
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top