Print Page | Close Window

SOLVED: How can I store a RecordSet ID?

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=11793
Printed Date: 21 July 2025 at 9:56pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: SOLVED: How can I store a RecordSet ID?
Posted By: McKloony
Subject: SOLVED: How can I store a RecordSet ID?
Date 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



Replies:
Posted By: StephenMurphy
Date Posted: 12 August 2008 at 3:54pm
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 - https://forum.codejock.com/forum_posts.asp?TID=11514


Posted By: McKloony
Date Posted: 14 August 2008 at 6:36am
Thanks a lot, it works!

-------------
Product: Xtreme SuitePro (ActiveX) 16.2.5

Platform: XP / Windows 7

Language: Visual Basic 6.0 SP6



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