Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Calendar
  New Posts New Posts RSS Feed - SOLVED: How can I store a RecordSet ID?
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

SOLVED: How can I store a RecordSet ID?

 Post Reply Post Reply
Author
Message
McKloony View Drop Down
Senior Member
Senior Member
Avatar

Joined: 09 January 2007
Location: Germany
Status: Offline
Points: 340
Post Options Post Options   Thanks (0) Thanks(0)   Quote McKloony Quote  Post ReplyReply Direct Link To This Post Topic: SOLVED: How can I store a RecordSet ID?
    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
Back to Top
StephenMurphy View Drop Down
Newbie
Newbie


Joined: 13 July 2008
Location: Canada
Status: Offline
Points: 8
Post Options Post Options   Thanks (0) Thanks(0)   Quote StephenMurphy Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
McKloony View Drop Down
Senior Member
Senior Member
Avatar

Joined: 09 January 2007
Location: Germany
Status: Offline
Points: 340
Post Options Post Options   Thanks (0) Thanks(0)   Quote McKloony Quote  Post ReplyReply Direct Link To This Post 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
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.203 seconds.