Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Business Object and Web Forms
Message
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Environment versions
Environment:
ASP.NET
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01234209
Message ID:
01236636
Views:
22
Yassin,

>I am registering the object manually
>
> Dim oOSPCHECKBOOKSETUP As New OSPCHECKBOOKSETUP
> 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
>

Try calling oOSPCHECKBOOKSETUP.NewEntity() before trying to set entity properties.

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
Next
Reply
Map
View

Click here to load this message in the networking platform