Microsoft KB Archive/290052

= How to make a replicated database a regular database in Access 2002 =

Article ID: 290052

Article Last Modified on 3/29/2007

-

APPLIES TO


 * Microsoft Access 2002 Standard Edition

-



This article was previously published under Q290052



Advanced: Requires expert coding, interoperability, and multiuser skills.

This article applies only to a Microsoft Access database (.mdb).



For a Microsoft Access 97 version of this article, see 153526.

For a Microsoft Access 2000 version of this article, see 208394.



SUMMARY
This article shows you how to convert a replicated database back to a regular database.



MORE INFORMATION
NOTE: When you follow the steps in this article, the following settings will not automatically convert to the regular database:
 * Non-default references
 * Security of the database objects
 * Table indexes
 * Table properties
 * Validation rules

To convert a replicated database back to a regular database, follow these steps:
 * 1) Create a new database.
 * 2) Import all the objects, except for the tables, from the replicated database into the newly created database.
 * 3) Close the new database, and then open the replicated database.
 * 4) In the Database window, click Queries under Objects, and then click New.
 * 5) In the New Query dialog box, click Design View, and then click OK.
 * 6) Select the first table in the Show Table dialog box. Drag all the fields to the Field row, except for the fields that were generated for replication (Gen_, s_ColLineage, s_Generation, s_Guid, s_Lineage). If your application requires one of these fields that was created by replication, go ahead and add it to the query.
 * 7) On the Query menu, click Make Table. In the Table Name box, select the current table name. Click Another Database, and add the name of the database that you created in step 1. Run the query.
 * 8) Repeat steps 4 through 7 for each table in the replicated database.
 * 9) Close the replicated database, and then open the new database. Re-create all indexes and relationships that existed in the replicated database.
 * 10) After you've completed steps 1 through 9, compact and then repair the new database. The new database should be approximately the same size as before replication and will not contain any replication properties.

