ACC97: Problems Adding Records to Replicated Database Using ASP (165830)
The information in this article applies to:
This article was previously published under Q165830 Moderate: Requires basic macro, coding, and interoperability skills.
SYMPTOMS
If you export to ASP format a form based on a table in a replicated
database, you cannot add new records using the ASP form.
If you look at an ODBC trace file, you see the error message:
[Microsoft][ODBC Microsoft Access 97 Driver]
You cannot modify the replication system object 's_Lineage'
CAUSE
The 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.
RESOLUTION
Instead 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.
STATUS
Microsoft 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.
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.
For more information about the replication system columns that are added to
a table in a replicated database, search the Help Index for "replication
fields."
Modification Type: | Major | Last Reviewed: | 9/25/2003 |
---|
Keywords: | kbbug KB165830 |
---|
|