If replication will not do it for you, there is another way.
I am sure that when the user does connect to the main system, you have a way
of pulling his data into the main mdb(s).
Now, what I would suggest is you create local tables that carry the data the
user will need for combos, list boxes, etc. Then when you pull his data
down, also push up updates to those tables and use them instead of the main
system tables.
Klatuu,
I am familiar with the technique you are referring to. But here it's not
fitting the bill.
When connected to linked data sources, the combo rowsources are different,
depending on which MDB I am linked to. When there no MDB to link to (no LAN
connection), I want to have a way to suppress the useless msgbox about "path
spelled correctly".
Thank you,
Marat.
> If replication will not do it for you, there is another way.
>
[quoted text clipped - 5 lines]
> down, also push up updates to those tables and use them instead of the main
> system tables.
Klatuu - 25 Oct 2006 14:01 GMT
I understand that. Perhaps I wasn't clear enough. What you need to do it
test to see if the links to the external databases are valid in your startup
routine and if not, use your local tables.
This is not an easy task, it will take a lot of work, but that is the only
way I know of to resolve this problem.
> Klatuu,
>
[quoted text clipped - 18 lines]
> > down, also push up updates to those tables and use them instead of the main
> > system tables.
David W. Fenton - 28 Oct 2006 00:05 GMT
> When connected to linked data sources, the combo rowsources are
> different, depending on which MDB I am linked to. When there no
> MDB to link to (no LAN
> connection), I want to have a way to suppress the useless msgbox
> about "path
> spelled correctly".
Then don't assign a rowsource to the combo box until you know you
can get to the linked table.
An easy way to test this would be something like this, and you'd
call it in the form's OnLoad event:
Public Sub SetComboBoxRowsource()
On Error GoTo errHandler
Dim rs As DAO.Recordset
Set rs = CurrentDB.OpenRecordset("[combo box linked table name]")
rs.Close
Set rs = Nothing
Me!cmbMyComboBox.Rowsource = [rowsource]
exitRoutine:
Exit Sub
errHandler:
Select Case Err.Number
Case # ' the number of the error returned when
' the linked table is inaccessible
Case Else
MsgBox Err.Number & ": " & Err.Description, vbExclamation,_
"Error in SetComboBoxRowsource()"
End Select
Resume exitRoutine
End Sub
And edit the form to have no rowsource defined for the combo box by
default.

Signature
David W. Fenton http://www.dfenton.com/
usenet at dfenton dot com http://www.dfenton.com/DFA/
John Nurick - 28 Oct 2006 18:13 GMT
How about using two back-end MDBs, the main one on the network and a
second on the local drive?
All data access in the front end would be done via linked tables, but
you'd have code to re-link the tables to one or the other back end
depending on circumstances.
http://www.mvps.org/access/tables/tbl0009.htm shows the sort of thing
that's involved.
The "local" back end could either be a simple copy of the main one or
contain a subset of the data, updated whenever the machine is connected
to the network.
>Klatuu,
>
[quoted text clipped - 18 lines]
>> down, also push up updates to those tables and use them instead of the main
>> system tables.
--
John Nurick [Microsoft Access MVP]
Please respond in the newgroup and not by email.
Marat - 22 Jan 2007 04:06 GMT
John,
This is exactly what I ended up doing. The only inconvenience was that I had
to explain to the IT director in writing why I needed "an empty copy" on a
file server.
Thank you much for all the answers people!
Marat.
> How about using two back-end MDBs, the main one on the network and a
> second on the local drive?
[quoted text clipped - 36 lines]
>
> Please respond in the newgroup and not by email.