Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Calendar
  New Posts New Posts RSS Feed - CustomProperties with Powerbuilder
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

CustomProperties with Powerbuilder

 Post Reply Post Reply
Author
Message
BUCK View Drop Down
Newbie
Newbie


Joined: 31 March 2010
Location: France
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote BUCK Quote  Post ReplyReply Direct Link To This Post Topic: CustomProperties with Powerbuilder
    Posted: 31 March 2010 at 11:05am

I translated the VB samples into Powerbuilder, but I have a problem to select customproperties (calendar 13.3.1) :

iOleEvent.CustomProperties("process_RecurrenceState") = ds_events.GetItemNumber(al_row, 'RecurrenceState')
iOleEvent.CustomProperties('process_RecurrencePatternID') = ds_events.GetItemNumber(al_row, 'RecurrencePatternID')

This syntax does not seem supported by powerbuilder => Illegal expression on left side of assignment

How to select customproperties with Powerbuilder ?
Back to Top
SuperMario View Drop Down
Admin Group
Admin Group
Avatar

Joined: 14 February 2004
Status: Offline
Points: 18057
Post Options Post Options   Thanks (0) Thanks(0)   Quote SuperMario Quote  Post ReplyReply Direct Link To This Post Posted: 31 March 2010 at 1:17pm
Maybe you want:

iOleEvent.CustomProperties.Property("process_RecurrenceState")
Back to Top
BUCK View Drop Down
Newbie
Newbie


Joined: 31 March 2010
Location: France
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote BUCK Quote  Post ReplyReply Direct Link To This Post Posted: 31 March 2010 at 1:47pm

I had also tried this syntax with the same result
Back to Top
Obelix View Drop Down
Newbie
Newbie
Avatar

Joined: 23 October 2008
Status: Offline
Points: 6
Post Options Post Options   Thanks (0) Thanks(0)   Quote Obelix Quote  Post ReplyReply Direct Link To This Post Posted: 28 April 2010 at 3:08am
Hello Buck,
 
You must change the () to [].
 
iOleEvent.CustomProperties["process_RecurrenceState"] = ds_events.GetItemNumber(al_row, 'RecurrenceState')
iOleEvent.CustomProperties["process_RecurrencePatternID"] = ds_events.GetItemNumber(al_row, 'RecurrencePatternID')
 
Have an nice day!
CodeJock Suite 13.1
Powerbuilder 11.5
Windows Vista SP2 (x32) / Windows 7 (x64)
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.