DataLink.AddNew Problem

DataLink.AddNew Problem

Postby Zero-G. » Mon 01 Sep 2008 17:15

Hey

I do use VB.NET SP1 and your latest controls

I use a DataLink in a form. - When I use: DataLink.AddNew(), I get an error, that the column ID is not allowed to have NULL
This is from my DataBase design, because ID is an AutoIncrement column.

How can I provide this error?

THX
Zero-G.
 
Posts: 390
Joined: Sat 09 Dec 2006 12:20

Postby Paul » Tue 04 Nov 2008 11:51

We cannot reproduce this problem. Please check that properties of DataColumn as set correctly. For example, DataColumn.AutoIncrement==true and DataColumn.AutoIncrementStep have correct value.
Paul
 
Posts: 725
Joined: Thu 28 Oct 2004 14:06


Return to dotConnect for MySQL