The information in this article applies to:
SUMMARY
Advanced: Requires expert coding, interoperability, and multiuser skills.
MORE INFORMATION
You can use Synchronize method of DAO for synchronizing database replicas.
The Synchronize method uses the following syntax:
When synchronizing replicas over a local area network, you must specify the local area network path of the replica you want to synchronize with for the pathname argument. When synchronizing replicas over the Internet, you must specify the Uniform Resource Locator (URL) address of the Internet server for the pathname argument, instead of specifying a local area network path. In addition, you must specify the dbRepSyncInternet constant for the exchange argument. When supplying the URL address of the Internet server, your code does not need to supply the full path to the replica on the server. For instance, if your Internet server name is "MyServer" and contains a replica named "Northwind.mdb" in a shared "Scripts" folder, you would use the syntax:
NOTE: Synchronization is bidirectional by default. For more control over the direction of the exchange, you can add one of the other exchange constants (dbRepImportChanges or dbRepExportChanges) to the constant dbRepSyncInternet. For example:
REFERENCES
For more information about the Synchronize method, search the Help Index
for "Synchronize method," or ask the Microsoft Access 97 Office Assistant.
Keywords : kbcode GnlOthr MdlDao |
Last Reviewed: November 10, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |