Re: acCmdSynchronizeNow hangs.
From: Cheval (NoSpam.Ask_at_ForEmail.com)
Date: 01/10/05
- Next message: Cheval: "Re: Automatic Replication"
- Previous message: Cheval: "Re: Is this correct?"
- In reply to: Kim Freriks via AccessMonster.com: "acCmdSynchronizeNow hangs."
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 10 Jan 2005 20:43:42 GMT
Yeah, it doesn't work for me much either.
I agree with the others saying write your own replication code, though I'll
give you a clue on how to do it.
The Microsoft way with JRO - I use this for quick and nasty "just make it
happen now" direct replication.
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnacc2k/html/jrorep.asp
TSI's synchronizer - My preferred way as I can track progress, keep logs,
GUI the user experience, etc.
http://www.trigeminal.com/utility.asp?1033
Background info
http://www.mvps.org/access/resources/techpapers.htm
http://support.microsoft.com/kb/q182886/
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
"Kim Freriks via AccessMonster.com" <forum@AccessMonster.com> wrote in
message news:99195ab998244b6f81cd2cdb2c76a6a5@AccessMonster.com...
Hello to you all!
I've been having some difficulties with acCmdSynchronizeNow.
MS gives the opportunity to use Extra-Replication-Synchronise Now.
This works every time I synchronise my database with its replicated one in
Hungary.
When Im using acCmdSynchronizeNow in a Button, the synchronisation starts
(has to shut down the databse to synchronise) and than stays down.
'------------------------------------------------------------
' mcrNuSynchroniseren
'
'------------------------------------------------------------
Function mcrNuSynchroniseren()
On Error GoTo mcrNuSynchroniseren_Err
DoCmd.RunCommand acCmdSynchronizeNow
mcrNuSynchroniseren_Exit:
Exit Function
mcrNuSynchroniseren_Err:
MsgBox Error$
Resume mcrNuSynchroniseren_Exit
End Function
So the above does NOT work!
I got the respons to "write the synchronising myself", but I havent got a
clue how to do this correctly. Can anybody help?
(I'd like a button with the command Synchronise Now; Macro or when not
possible in VBA)
Hellup!
Thanks!
Kim
-- Message posted via http://www.accessmonster.com
- Next message: Cheval: "Re: Automatic Replication"
- Previous message: Cheval: "Re: Is this correct?"
- In reply to: Kim Freriks via AccessMonster.com: "acCmdSynchronizeNow hangs."
- Messages sorted by: [ date ] [ thread ]