Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Duplicated Broken Rules Message at bottom page?
Message
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Environment versions
Environment:
VB 8.0
OS:
Windows XP SP2
Database:
MS SQL Server
Miscellaneous
Thread ID:
01175129
Message ID:
01177484
Views:
7
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
Previous
Reply
Map
View

Click here to load this message in the networking platform