|  | 
| Custom Provider Problem | 
| Post Reply   | 
| Author | |
| nvierros   Groupie     Joined: 02 July 2006 Location: Australia Status: Offline Points: 44 |  Post Options  Thanks(0)  Quote  Reply  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. | |
|  | |
| nvierros   Groupie     Joined: 02 July 2006 Location: Australia Status: Offline Points: 44 |  Post Options  Thanks(0)  Quote  Reply  Posted: 27 September 2006 at 7:28am | 
|  Anyone? Please? | |
|  | |
| Umesh   Newbie     Joined: 01 April 2006 Location: India Status: Offline Points: 3 |  Post Options  Thanks(0)  Quote  Reply  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 | |
|  | |
| nvierros   Groupie     Joined: 02 July 2006 Location: Australia Status: Offline Points: 44 |  Post Options  Thanks(0)  Quote  Reply  Posted: 27 September 2006 at 10:22am | 
| 
 This still does nothing, it makes the connection but nothing actually shows in the calendar! :( | |
|  | |
| sserge   Moderator Group   Joined: 01 December 2004 Status: Offline Points: 1297 |  Post Options  Thanks(0)  Quote  Reply  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 | |
|  | |
| Post Reply   | |
| Tweet | 
| Forum Jump | Forum Permissions  You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |