Thanks for the message. The reason I have not split the database is that the
replicated copies will be used completely off any corporate network and often
with no internat access either. The replicated copies are loaded on laptops
where the nature of the business means people are working away regularly. If
they could gain access to a single shared backend set of tables I would have
splti the database, but they cannot. The fact is that the users use their
copy in a very standalone fashion until they return to their corporate
offices where they then onntect to the netowrk and go through a
synchronisation process. This means I cannot split the database as I do not
believe there is mechanism to synchronise the split backend tables only. In a
split database scenario the user will only see the front user interface of
the databse preventing access to any synchronisation of the backend tables.
if what I am saying is incorrect please let me know how the user can sync the
backend tables in a split replicated environment. If it is possible I will
test a split setup.
Regards
alathwell
> The reason I have not split the database is that the
> replicated copies will be used completely off any corporate
[quoted text clipped - 8 lines]
> database as I do not believe there is mechanism to synchronise the
> split backend tables only.
This is where you are completely incorect.
> In a
> split database scenario the user will only see the front user
> interface of the databse preventing access to any synchronisation
> of the backend tables.
No, linked tables will give access to the data.
> if what I am saying is incorrect please let me know how the user
> can sync the backend tables in a split replicated environment. If
> it is possible I will test a split setup.
All non-replicated apps should be split if they are multiple user.
All replicated apps should be split no matter what, because front
ends cannot be safely replicated.
Here's code that checks the .Connect string of a linked table in a
non-replicated front end to find the back end database that is to be
synched with a remote replica:
Dim strLocal As String
Dim db As DAO.Database
' choose the name of a table in your front end linked to BE
replica strLocal = Mid(CurrentDB.TableDefs("tblPerson").Connect,
11) Set db = DBEngine.OpenDatabase(strLocal)
db.Synchronize "\\Server\Database\RemoteReplica.mdb"
db.Close
Set db = Nothing
Now, there are a whole boatload of other issues you ought to be
worrying about (is the remote replica accessible? were there
conflicts produced by the synch?), but that gets the job done.

Signature
David W. Fenton http://www.dfenton.com/
usenet at dfenton dot com http://www.dfenton.com/DFA/
alathwell - 12 May 2008 11:09 GMT
Thank you for your message and help,
I have succesfully implemented what you suggested, and it works really well
with the exception of when I am running the solution on a machine using
Access 2007. I have implemeted the changes in 2003 and all machines running
Access 2003 work fine.
When running the split/backend replicated copies in Access 2007 I get two
errors:
one when the Switcboard opens and only this happens when it first runs the
error is :-
'Your Microsoft Office Access database or project contains a missing or
broken reference to the file 'OWC11.DLL' version 1.0.'
and the following error ocurrs when running the sync code:-
Compile error:
Can't find project or library
The code stops on the Mid function
replica strLocal = Mid(CurrentDB.TableDefs("tblPerson").Connect,
> 11)
I assume this is all to do with differences between 2003 and 2007. I was
planning to import the front end into 2007 rather that copying it. Let me
know what you think or you have a better option.
Thanks again for your help
Regards
alalthwell
> > The reason I have not split the database is that the
> > replicated copies will be used completely off any corporate
[quoted text clipped - 45 lines]
> worrying about (is the remote replica accessible? were there
> conflicts produced by the synch?), but that gets the job done.
David W. Fenton - 13 May 2008 04:35 GMT
> When running the split/backend replicated copies in Access 2007 I
> get two errors:
> one when the Switcboard opens and only this happens when it first
> runs the error is :-
> 'Your Microsoft Office Access database or project contains a
> missing or broken reference to the file 'OWC11.DLL' version 1.0.'
This has nothing at all to do with replication -- it's just a
garden-variety reference problem.
Do you need that library? If not, remove it. If you *do* believe you
need it, I'd question why, as it usually doesn't provide any
functionality that is not available via other methods (usually with
late binding, which avoids reference problems).

Signature
David W. Fenton http://www.dfenton.com/
usenet at dfenton dot com http://www.dfenton.com/DFA/
alathwell - 13 May 2008 13:54 GMT
Thanks for your message.
You are probably quite correct.
I am not quite sure however, how to choose and remove the correct library
entry. I can see in the VBA tools reference area there are several library
types (assuming this is the right place to look) which one should I remove.
If I remove this from just the one main design copy will that be enough for
all of the distrubuted copies I will need to create.
Regards
alathwell
> > When running the split/backend replicated copies in Access 2007 I
> > get two errors:
[quoted text clipped - 10 lines]
> functionality that is not available via other methods (usually with
> late binding, which avoids reference problems).
Douglas J. Steele - 13 May 2008 17:00 GMT
When you go through Tools | References and click on each of the selected
references (the ones at the top of the list with check marks in front of
them) in turn, the specific file is displayed in the bottom of the dialog.

Signature
Doug Steele, Microsoft Access MVP
http://I.Am/DougSteele
(no e-mails, please!)
> Thanks for your message.
>
[quoted text clipped - 25 lines]
>> functionality that is not available via other methods (usually with
>> late binding, which avoids reference problems).