The information in this article applies to:
SYMPTOMS
Moderate: Requires basic macro, coding, and interoperability skills.
CAUSEThe Microsoft Access 97 ODBC driver attempts to set values for the replication system columns, s_Generation, s_GUID and s_Lineage; Microsoft Access also adds one replication system column for each OLE Object field in your table. Microsoft Access does not allow you to set the values in those fields, so inserting the record fails. RESOLUTIONInstead of using a table name in the RecordSource property of the form you are exporting to ASP format, set the RecordSource to the name of a Select query that contains all the fields in your table except the replication system columns. STATUSMicrosoft has confirmed this to be a problem in Microsoft Access 97. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available. MORE INFORMATION
When you export a form to ASP format, the ASP file contains a SQL select
statement that selects all the fields in the table. For example, if you
base a form on the Shippers table, the SQL statement in the ASP file is:
This SQL statement selects all fields in the table, including the replication system columns. When you base your form on a query that contains only the fields you want to update, the SQL statement in the ASP file names each field individually. For example:
This SQL statement avoids the replication system columns in the table. REFERENCES
For more information about ODBC trace files, start the ODBC Data Source
Administrator, click the Tracing tab, and then click the Help button in the
dialog box.
Additional query words: insert update fail silent design master
Keywords : GnlOthr RplGen IntAsp |
Last Reviewed: April 23, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |