Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Calendar
  New Posts New Posts RSS Feed - Custom Provider Problem
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Custom Provider Problem

 Post Reply Post Reply
Author
Message
nvierros View Drop Down
Groupie
Groupie
Avatar

Joined: 02 July 2006
Location: Australia
Status: Offline
Points: 44
Post Options Post Options   Thanks (0) Thanks(0)   Quote nvierros Quote  Post ReplyReply Direct Link To This Post Topic: Custom Provider Problem
    Posted: 26 September 2006 at 2:01am
Hey,
 
When i use the following code, nothing seems to happen.
 
nCal.SetDataProvider "Provider=sqloledb;Server=xfs1;Database=db;User ID=sa;Password="
nCal.DataProvider.CacheMode = xtpCalendarDPCacheModeOnRepeat
nCal.DataProvider.Open
nCal.Populate
nCal.RedrawControl
nDate.RedrawControl
 
Some help would be great, thanks.
Back to Top
nvierros View Drop Down
Groupie
Groupie
Avatar

Joined: 02 July 2006
Location: Australia
Status: Offline
Points: 44
Post Options Post Options   Thanks (0) Thanks(0)   Quote nvierros Quote  Post ReplyReply Direct Link To This Post Posted: 27 September 2006 at 7:28am
 Anyone? Please?
Back to Top
Umesh View Drop Down
Newbie
Newbie
Avatar

Joined: 01 April 2006
Location: India
Status: Offline
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote Umesh Quote  Post ReplyReply Direct Link To This Post Posted: 27 September 2006 at 9:32am
Hey
nCal.SetDataProvider "Provider=sqloledb;Server=xfs1;Database=newgen;User ID=sa;Password=Newgen011"
IF Not CalendarControl.DataProvider.Open  THEN
CalendarControl.DataProvider.Create
ELSE
nCal.DataProvider.CacheMode = xtpCalendarDPCacheModeOnRepeat
nCal.DataProvider.Open
ENDIF

nCal.Populate
nCal.RedrawControl
nDate.RedrawControl
 
Thank's
I thinks some will be happen with you
Back to Top
nvierros View Drop Down
Groupie
Groupie
Avatar

Joined: 02 July 2006
Location: Australia
Status: Offline
Points: 44
Post Options Post Options   Thanks (0) Thanks(0)   Quote nvierros Quote  Post ReplyReply Direct Link To This Post Posted: 27 September 2006 at 10:22am
Originally posted by Umesh Umesh wrote:

Hey
nCal.SetDataProvider "Provider=sqloledb;Server=xfs1;Database=;User ID=sa;Password="
IF Not CalendarControl.DataProvider.Open  THEN
CalendarControl.DataProvider.Create
ELSE
nCal.DataProvider.CacheMode = xtpCalendarDPCacheModeOnRepeat
nCal.DataProvider.Open
ENDIF

nCal.Populate
nCal.RedrawControl
nDate.RedrawControl
 
Thank's
I thinks some will be happen with you
 
This still does nothing, it makes the connection but nothing actually shows in the calendar! :(
Back to Top
sserge View Drop Down
Moderator Group
Moderator Group


Joined: 01 December 2004
Status: Offline
Points: 1297
Post Options Post Options   Thanks (0) Thanks(0)   Quote sserge Quote  Post ReplyReply Direct Link To This Post Posted: 02 October 2006 at 4:17pm
Hi,

If you do use MS SQL Server connection, I would suggest you to use Custom Data Provider for SQL Server. The example is available in regular sample application.

--
WBR,
Serge
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.188 seconds.