UtterAccess.com
X   Site Message
(Message will auto close in 2 seconds)

Welcome to UtterAccess! Please ( Login   or   Register )

Custom Search
 
   Reply to this topicStart new topic
> Error '2763'    
 
   
Dionysus
post May 12 2006, 06:03 AM
Post#1



Posts: 137
Joined: 20-September 04
From: Newcastle, UK


Hi,
On the Load Event on my form I am have the following:
Me!DTfrom.Value = Date
Me!DTto.Value = Date
When I open the form I get the following Error:
Run-time error '2763': DTPicker returned the error: Property is read-only.
Ocannot find what is causing this, any sugguestions please?
Cheers.
Go to the top of the page
 
freakazeud
post May 12 2006, 07:22 AM
Post#2


UtterAccess VIP
Posts: 31,413
Joined: 23-September 04
From: NC, USA


Hi,
try to set focus to the control before you set the value and also try to use Now() instead e.g.:
e!DTfrom.SetFocus
Me!DTfrom = Now()
You're sure this is on the on load event, right? The control is on no subform or tab control, right?
HTH
Good luck
Go to the top of the page
 
Dionysus
post May 15 2006, 04:27 AM
Post#3



Posts: 137
Joined: 20-September 04
From: Newcastle, UK


Well I never frown.gif that worked straight away.
riliant! Thanks very much.
Just to confirm the event procedure is on the load event and the control was on the main form.
Thanks again, you've been a great help.
Go to the top of the page
 
freakazeud
post May 15 2006, 05:56 AM
Post#4


UtterAccess VIP
Posts: 31,413
Joined: 23-September 04
From: NC, USA


You're welcome.
Good luck on future projects!
Go to the top of the page
 


Custom Search


RSSSearch   Top   Lo-Fi    6th July 2020 - 07:38 AM