Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Business Object and Web Forms
Message
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Versions des environnements
Environment:
ASP.NET
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
01234209
Message ID:
01237286
Vues:
15
Yassin,

> When I try to do an update I try to call the following
> oOSPCHECKBOOKSETUP.Entity.INTERID = Me.BvinField.Value
> oOSPCHECKBOOKSETUP.Entity.CHEKBKID = Me.CheckBookList.SelectedValue
> oOSPCHECKBOOKSETUP.Entity.MODIFIDT = Now.Date
> Dim save1 As OakLeaf.MM.Main.Business.mmSaveDataResult =
> oOSPCHECKBOOKSETUP.SaveEntity
>
> But it comes back with SaveCanceled.

The SaveEntity() method returns false if child business object's PreSaveProcessing() method returns false, or if there is no DataSet/DataTable associated with the business object. I recommend stepping through the debugger when you call SaveEntity() to see what's happening.

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