Print Page | Close Window

MS Access sample

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Calendar
Forum Description: Topics Related to Codejock Calendar
URL: http://forum.codejock.com/forum_posts.asp?TID=9153
Printed Date: 27 November 2024 at 5:29am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: MS Access sample
Posted By: andihp
Subject: MS Access sample
Date Posted: 19 December 2007 at 4:33pm
Hi all,
I've installed xtreme calendarpro evaluation copy, but i couldn't run the Microsoft Access sample. I am using MS Access 2003 and 2007.
The error message was : "Runtime error 438. Object doesn't support this property or method.

The line that the debugger stops at is:
Me.CalendarControl1.SetDataProvider "Provider=Access;"
I checked the reference is already there.
and from the activex toolbox i can drag the control.

If I manually type in Me.CalendarControl1. the intellisense doesnot show up SetDataProvider.

Any help would be very much appreciated.

TIA
Andi



Replies:
Posted By: sserge
Date Posted: 19 December 2007 at 5:29pm
Hi Andi,

As for using Calendar control within Access environment, sometimes there could be a problem with the registration of the component. Try to ignore those errors, and reinsert both Calendar and DatePicker controls to the form, with names like in VBA code: CalendarControl1 and DatePicker2.

After re-inserting the control to the form, it should work properly.

--
WBR,
Serge


Posted By: andihp
Date Posted: 19 December 2007 at 6:12pm
Hi Serge,
it works, thanks.

but... if i change the date using datepicker control and clicked on refresh button but the calendar did not refresh.
The other thing is if i want to add some more fields in the Event table,
do we need to buy source code and modify it accordingly to be able to add more fields in the table?

Big thank for any explanation.



TIA
Andi



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net