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

Run-time error 2763 DTPicker return the error: Property is read only

Status
Not open for further replies.

billa1a

Programmer
Jan 31, 2007
1
US
I use the follow code in the load section of a form.
Private Sub Form_Load()
Me.StartDate.Value = Date
Me.EndDate.Value = Date
Select Case Month(Date)
Case 1 To 6
Me.SchoolYear.Value = DateSerial(Year(Date - 365), 7, 1)
Case Else
Me.SchoolYear.Value = DateSerial(Year(Date), 7, 1)
End Select
End Sub
The three DTPicker controls as set.
When I exit the application without closing the form, I get the error message above.
The application is Access 2003 with a SQL backend.


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top