Excel: Custom Data Form Not Inserting New Records in Database

Last reviewed: November 2, 1994
Article ID: Q64336

SUMMARY

A Microsoft Excel custom data form created with the Dialog Editor will not insert new records into a database when the New button is used if the data form has not been set up correctly. It also will not extend the range of the database when records are entered, as a default form will.

This situation will occur if the database field names are not added to the Initial/Result column (column 7) of the dialog box definition table. The field names must be input into the same row as the edit boxes. Edit boxes are item numbers 6, 7, 8, 9, or 10 in the Item column (column 1) of the dialog box definition table.

The database field names are not automatically put into the dialog box definition table by the Dialog Editor.

For more information on custom data forms, see pages 365-368 of the "Microsoft Excel User's Guide" version 3.0 manual or pages 163-166 of the "Microsoft Excel Reference" version 2.2 manual.

For more information on dialog boxes, see pages 620-628 of the "Microsoft Excel User's Guide" version 3.0 manual or pages 164-178 in the "Microsoft Excel Functions and Macros" version 2.2 manual.


KBCategory: kbother
KBSubcategory:

Additional reference words: noupd


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: November 2, 1994
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.