Hello I'm Atempting to set up Indirect Replication on a DB so that the end user can have a breifcase version and it will Sync with the Master DB when is is conected to the network again I can not get my hands on Replication Manager and so i have had to find away around this. I've seen several referances to TSI Synchronizer working with Microsofts Jet40repl.exe It's a real pain but i need it to work I've found this site to be the most help http://www.vsj.co.uk/articles/display.asp?id=560
But now that I have the jet exe and the TSI dll and have modifiyed the System Registry I'm geting a simple compile error when i try to exicute code to Sync the Master and Rep DBs the error states "user defined type not defined" On the first line of the following code.
I must be missing a Referance but I'm not sure what this is poorly documented anywere I've looked on the web and I'm not sure if i missed a step of messed something up has anyone used this method before?
TIA
But now that I have the jet exe and the TSI dll and have modifiyed the System Registry I'm geting a simple compile error when i try to exicute code to Sync the Master and Rep DBs the error states "user defined type not defined" On the first line of the following code.
Code:
Dim sync As Synchronizer
Dim reps As Replicas
Dim rep As Replica
Set sync = New Synchronizer
Set reps = sync.ReplicaSet
sync.Running = True
sync.SystemDB = _
"c:\windows\system32\system.mdw"
sync.IndirectDropbox = "c:\dropbox"
sync.IndirectDropboxPwd = "password"
sync.DatabaseName = _
"C:\data\expenses.mdb"
Set reps = sync.ReplicaSet
For Each rep In reps
If rep.ReplicaID <> _
sync.ReplicaID Then
sync.SynchIndirect _
rep.SynchronizerID
End If
Next rep
TIA
Comment