Allen Browne Pop Up Calendar problem

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I used this link:

http://allenbrowne.com/ser-51.html

I have followed the directions (tried three times) but I keep getting an
error.

'The expression On Click you entered as the event property setting produced
the following error: Object or Class does not support the set of events.'




Can someone point me in the right direction.

Cheers
 
Step 1 says:
Import form frmCalendar and module ajbCalendar into your database.
Did you import the module as well as the form?

If you did, exactly what do you have in the On Click property of your
command button?
 
Sorry Allen, I am still getting the error message. I have succesfully used
this in another database and I carefully looked at the one that works to see
if I could find any differences and could not.

So, this morning I deleted the previous attempt, re-imported the files,
doubled checked everything and I still get the error message.

The On Click event has the following:

=CalendarFor([txtStartDate], "Set the start date")

I copied the calendar button from the example form provided.


Any ideas?

Cheers
 
I found the problem....

I had the forms record source linked to a table. Removed that and all is fine.

Sorry about that.

Paul B. said:
Sorry Allen, I am still getting the error message. I have succesfully used
this in another database and I carefully looked at the one that works to see
if I could find any differences and could not.

So, this morning I deleted the previous attempt, re-imported the files,
doubled checked everything and I still get the error message.

The On Click event has the following:

=CalendarFor([txtStartDate], "Set the start date")

I copied the calendar button from the example form provided.


Any ideas?

Cheers





Allen Browne said:
Step 1 says:
Import form frmCalendar and module ajbCalendar into your database.
Did you import the module as well as the form?

If you did, exactly what do you have in the On Click property of your
command button?
 
Back
Top