Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Duplicated Broken Rules Message at bottom page?
Message
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Versions des environnements
Environment:
VB 8.0
OS:
Windows XP SP2
Database:
MS SQL Server
Divers
Thread ID:
01175129
Message ID:
01177484
Vues:
8
Liew,

>Do you mean after adding the function CallCheckRules() in ABusinessObject, I can just call Me.BO.CallCheckRules() directly? Besides, I noticed that all the values for validation are required to assign to the current row before the validation. Am I missing some steops before calling the CheckRules method? Thanks.

With MM .NET automatic two-way data binding, the business object raises a PreSaving event that tells all user interface controls to bind their data back to the business object. This happens automatically when you call SaveDataSet() on the business object. You can also raise it programmatically by calling the business object's CallStateChange() method. For example:
Me.oBizObj.CallStateChange(mmBusinessState.PreSaving)
Best Regards,
Kevin McNeish
Eight-Time .NET MVP
VFP and iOS Author, Speaker & Trainer
Oak Leaf Enterprises, Inc.
Chief Architect, MM Framework
http://www.oakleafsd.com
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform