Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Visual Basic > VB 6 Visual Basic 6 > Pro VB Databases
|
Pro VB Databases Advanced-level VB coding questions specific to using VB with databases. Beginning-level questions or issues not specific to database use will be redirected to other forums.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Pro VB Databases section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old August 28th, 2003, 02:52 PM
Authorized User
 
Join Date: Jul 2003
Posts: 58
Thanks: 0
Thanked 0 Times in 0 Posts
Default Replication with Jet Engine 4.0

Hi.
Does anyone knows how to replicate database with Jet Engine 4.0

Thank you,
Pavel

 
Old September 7th, 2003, 10:01 AM
Registered User
 
Join Date: Sep 2003
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I assume you are using VB and Access.

This code will do internet synchronization:
Code:
    Dim dbsTemp As DAO.Database

    Set dbsTemp = DBEngine.OpenDatabase(SourceFile)

    ' Synchronize the local database with the replica on
    ' the Internet server.
    dbsTemp.Synchronize InternetServer, dbRepImpExpChanges + dbRepSyncInternet

    InternetSync = True

    dbsTemp.Close


If you want more code examples just search google for dbs.synchronize or dbrepimpexpchanges. Both will give you some good links.
 
Old September 8th, 2003, 08:01 AM
Authorized User
 
Join Date: Jul 2003
Posts: 58
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thank you Scott for your help.

Pavel






Similar Threads
Thread Thread Starter Forum Replies Last Post
Microsoft JET Database Engine (0x80040E09) u813222 Classic ASP Professional 12 April 3rd, 2007 01:27 PM
JET Database Engine Error amit_palrecha Classic ASP Databases 7 February 8th, 2007 03:50 AM
Microsoft JET Database Engine (0x80040E07) gwalker_ne8 Classic ASP Databases 2 November 11th, 2006 09:32 AM
JET database Engine and Access georgizas Classic ASP Databases 2 November 3rd, 2004 03:52 AM
Microsoft JET Database Engine (0x80040E07) aa Classic ASP Databases 5 August 17th, 2004 07:53 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.