Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Business Rules & FieldLevel Validation
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
The Mere Mortals Framework
Divers
Thread ID:
00504390
Message ID:
00504681
Vues:
13
Bob,

How about using dbsetprop() and dbgetprop()? You can store your captions at field level in the dbc and then you are not hard coding the values. Then in your bizobj, you can retreive the label using the field name.

Kind Regards,

Mat


>I was thinking of how to get it while in the BizRule class. In field level I could pass This.Parent.Label.Caption as a parameter to the validation method. But when the BizObj fires the BizRules.CheckRules method I do not see a way to get the Label.Caption for the controls without hard coding.
>
Matthew Kennedy
Decision Support Technology Inc.

"I try to take one day at a time, but sometimes several days attack me all at once." ~ Ashleigh Brilliant

New Jersey Dot Net User Group
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform