![]() |
CustomProperties with Powerbuilder |
Post Reply
|
| Author | |
BUCK
Newbie
Joined: 31 March 2010 Location: France Status: Offline Points: 2 |
Post Options
Thanks(0)
Quote Reply
Topic: CustomProperties with PowerbuilderPosted: 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 ? |
|
![]() |
|
SuperMario
Senior Member
Joined: 14 February 2004 Status: Offline Points: 18057 |
Post Options
Thanks(0)
Quote Reply
Posted: 31 March 2010 at 1:17pm |
|
Maybe you want:
iOleEvent.CustomProperties.Property("process_RecurrenceState") |
|
![]() |
|
BUCK
Newbie
Joined: 31 March 2010 Location: France Status: Offline Points: 2 |
Post Options
Thanks(0)
Quote Reply
Posted: 31 March 2010 at 1:47pm |
|
I had also tried this syntax with the same result |
|
![]() |
|
Obelix
Newbie
Joined: 23 October 2008 Status: Offline Points: 6 |
Post Options
Thanks(0)
Quote Reply
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) |
|
![]() |
|
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 |