XL: "Unable to Write to Database" Error with Template WizardLast reviewed: January 7, 1998Article ID: Q171579 |
The information in this article applies to:
SYMPTOMSIf you use a template created by the Template Wizard to create a new record in a database, you may receive the following error message:
Unable to write to database. Make sure database is not protected and has valid field data-types. CAUSEThis problem may occur if all of the following conditions are true:
RESOLUTIONTo resolve this problem, change the data type of the primary field to AutoNumber. After you do this, Microsoft Access generates a unique number for this field for each record in the table.
STATUSThis behavior is by design of the Template Wizard in Microsoft Excel.
MORE INFORMATIONThe Template Wizard with Data Tracking add-in creates a template that links selected cells in a workbook to fields in a database. When you base a new workbook on the template and enter data in the linked cells, Microsoft Excel creates a new record in the database and copies the data to the corresponding data fields.
REFERENCESFor more information about the Template Wizard, click the Office Assistant, type "template wizard," click Search, and then click to view " What is the Template Wizard with Data Tracking?" NOTE: If the Assistant is hidden, click the Office Assistant button on the Standard toolbar. If Microsoft Help is not installed on your computer, please see the following article in the Microsoft Knowledge Base:
ARTICLE-ID: Q120802 TITLE : Office: How to Add/Remove a Single Office Program or Component |
Additional query words: XL97
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |