Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Error Me.BusObjName.SaveRow after MM New Button Click
Message
 
To
15/02/2005 15:53:37
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Environment versions
Environment:
VB.NET 1.1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
00987202
Message ID:
00987330
Views:
43
Joe,

>After I enter the remaining values I press my Next button I get the following error message:
>Cannot insert the value NULL into column 'VisitorType', table 'StellarVisiTrak.dbo.VisitorTypes'; column does not allow nulls. INSERT fails.

Is "VisitorTypes" specified as the TableName for the VisitorType business object? Is the "VisitorTypes" column bound to a user interface control? In Windows Forms binding back occurs automatically. When a user enters a value and the control loses focus the value is stored back to the specified DataColumn.

If all of this is set up correctly, it's possible you're running into an EndEdit issue with Windows Forms. Check out the MM .NET Dev Guide topics "AutoEndEdit: Automatically Ending Pending Edits" and "Why doesn't my data get saved to the back end?".

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