Calender Control problem

B

Bill Davis

I am trying to use the calendar control from MS Knowledge
Base Article 190194.
When I entering the routine for the calendar control
On Click to SetFocus, the only item that comes up
is "Value", it will let me enter SetFocus but when I run
the form I get "Complie error: Method or data member not
found 461. I have used this control in another database
and it work fine.
Thanks in advance
 
W

Wayne Morgan

By chance do the field and control have the same name? If so change the name of the
control (i.e. Field Name is Field1, change control name to txtField1). Try prefixing the
line with Me.

Me.ControlName.SetFocus
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top