![]() |
SOLVED: How can I store a RecordSet ID? |
Post Reply ![]() |
Author | |
McKloony ![]() Senior Member ![]() ![]() Joined: 09 January 2007 Location: Germany Status: Offline Points: 340 |
![]() ![]() ![]() ![]() ![]() Posted: 12 August 2008 at 4:41am |
I save my CalenderControl events in a normal ADO RecordSet. If I load these events from the RecordSet into the CalenderControl, I have to set / store the unique RecordSet ID to the event. I have to do this, because sometimes I want to reedit these events and save the changes to the RecordSet. Because the event ID of the CalendarControl is read only I use the Body property. Does anybody has another idea to store the RecordSet ID? |
|
Product: Xtreme SuitePro (ActiveX) 16.2.5
Platform: XP / Windows 7 Language: Visual Basic 6.0 SP6 |
|
![]() |
|
StephenMurphy ![]() Newbie ![]() Joined: 13 July 2008 Location: Canada Status: Offline Points: 8 |
![]() ![]() ![]() ![]() ![]() |
You could make the ID of the Events the same as the recordset's by using CreateEventEx(RECORD_ID) when you fill your calendar. There was a thread on this:
https://forum.codejock.com/forum_posts.asp?TID=11514 |
|
![]() |
|
McKloony ![]() Senior Member ![]() ![]() Joined: 09 January 2007 Location: Germany Status: Offline Points: 340 |
![]() ![]() ![]() ![]() ![]() |
Thanks a lot, it works!
|
|
Product: Xtreme SuitePro (ActiveX) 16.2.5
Platform: XP / Windows 7 Language: Visual Basic 6.0 SP6 |
|
![]() |
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 |