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

Runtime Error 2113

Status
Not open for further replies.

thebeavis45

Technical User
Joined
Aug 31, 2001
Messages
5
Location
US
I am attempting to have a calendar control enter a date into a text box. When a date is selected on the calendar I get a "runtime error 2113" The code is:

Private Sub Calendar1_Click()
Me!CalendarDate.Value = Format(Me!Calendar1.Object.Value, "dddddd")
End Sub

Any help please?
 
Private Sub Calendar1_Click()
Me!CalendarDate = format(Me!Calendar1.Value,"dddddd")
End Sub

Aivars

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top