Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
CBizObjForm.FindBrokenRule change
Message
From
03/12/2000 23:38:43
Rex Mahel
Realm Software, Llc
Ohio, United States
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Title:
CBizObjForm.FindBrokenRule change
Miscellaneous
Thread ID:
00448685
Message ID:
00448685
Views:
51
Kevin,

If you have a series of business objects and the any intermediate business object does not have a business rule class, no child business objects get their business rule class executed.

I changed the CBizObjForm.FindBrokenRule from:

IF ! VARTYPE(toBizObj.oBizRules) == 'O'
RETURN loRetObj
ENDIF

lnRulesCount = toBizObj.oBizRules.GetCount()
IF lnRulesCount # 0
RETURN toBizObj
ENDIF

To:

IF VARTYPE(toBizObj.oBizRules) == 'O'
lnRulesCount = toBizObj.oBizRules.GetCount()
IF lnRulesCount # 0
RETURN toBizObj
ENDIF
ENDIF
Reply
Map
View

Click here to load this message in the networking platform