The information in this article applies to:
SYMPTOMSWhen attempting to use the Form Wizard on a SQL Server table without including the primary key field or a field with its Identity column checked (and without setting the Identity Seed and Identity Increment properties to valid values); the following error is received after clicking the Insert button:
CAUSEWhen attempting to update a table with a new record the primary key and index field must have a valid non-null value. If the primary key or index field does not have its Identity column, Identity Seed, and Identity Increment fields set, the update generates an error. The Seed and Increment fields must be set, after which the primary key is automatically updated with an auto-increment value whenever the table is updated with a new record. RESOLUTIONFrom within either Visual InterDev or SQL Enterprise Manager set the Seed value and Increment value to a valid value. STATUSThis behavior is by design. MORE INFORMATIONSteps to Reproduce BehaviorSQL 6.5 Server Table:
REFERENCESFor the latest Knowledge Base articles and other support information on Visual InterDev and Active Server Pages, see the following page on the Microsoft Technical Support site: http://support.microsoft.com/support/vinterdev/ Additional query words:
Keywords : kberrmsg kbnokeyword kbVisID kbVisID100 kbGrpASP |
Last Reviewed: November 8, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |