Error with simple date entry!?!?

comptechbranden

Registered User.
Local time
Today, 17:58
Joined
May 25, 2006
Messages
119
I got this to work easily on another form but on this particular form it doesnt work. I enter a command button and name it d1, then I enter this code for it to populate the current date in the field next to the box:

Private Sub d1_Click()
Date_Entered.Value = Date
End Sub

Can anyone see why it doesnt work :eek:

ERROR IS:
Run-time error '2465':

Database cant find the field 'Date' referred to in your expression.

When I enter a date field it enders whats in that field (blank) into the field I told it (Date_Entered) on my form.
 
Try me.Date_Entered . Is Date_Entered the name of your text box?
 

Users who are viewing this thread

Back
Top Bottom