General information
Title:
CmCursor.Addrule help
I am writing a non-visual program in which I want to make use of the
custom rules that I've setup. This is what I have so far for the instantiation:
loCDE = CREATEOBJECT( 'cmDataEnvironmentCustom' )
loCDE.addcursor( 'BCSSettings', 'curBCSSettings' )
loBCSSettings = loCDE.getcursor( 'BCSSettings' )
loBCSSettings.addrule( 'RuleBCSSettings' )
The last line errors out since the method expects an object, I think.
But, when i try to instantiate an Rule object using something like:
loBCSRuleCustom = CREATEOBJECT( 'RuleBCSSettings' )
this can't work because the rule needs a Parent reference.
Can anyone give me some pointers?
Mike
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only