StrataFrame Forum

Error adding new record...

http://forum.strataframe.net/Topic6747.aspx

By StarkMike - 2/13/2007

Everytime I try to add a new record I get this error...



Cannot insert the value NULL into column 'id', table 'BluePrintLog.dbo.BPLBluePrints'; column does not allow nulls. INSERT fails. The statement has been terminated.



I'm not sure why.



Any ideas?
By StrataFrame Team - 2/13/2007

What's the data type of the 'id' column, what is the PrimaryKeyIsAutoIncremented property value on your business object, and is the column an IDENTITY column?
By StarkMike - 2/13/2007

Problem solved. It wasn't set to be an identity column. i guess the upgrade wizard left that part out. ;-)

Thanks.

By StrataFrame Team - 2/13/2007

Glad you got it working Smile