Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
CBizObjForm.FindBrokenRule change
Message
De
03/12/2000 23:38:43
Rex Mahel
Realm Software, Llc
Ohio, États-Unis
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
The Mere Mortals Framework
Titre:
CBizObjForm.FindBrokenRule change
Divers
Thread ID:
00448685
Message ID:
00448685
Vues:
57
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
Répondre
Fil
Voir

Click here to load this message in the networking platform