I have had for the longest time problems with the University Server being slow - so what I have done is to have the Server Tables brought to the local machine for time intensive updating routines, etc.. This has resulted in 2 separate Front Ends, one which is linked locally, and the second which is linked to the Server.
It would be ideal if I could put an Event on the Opening form in which the user can choose with a simple click which BE they would like to be "linked" to. I have seen mentioned DoCmd.TransferDatabase, Environ() and an API() call for login but not sure how these may work.
If, in code, I have to "de-link" and "re-link" each table during the event, that is ok so long as the job is done.
Any ideas? Thanks in advance. The code would appear as follows (if it exists), e.g., in a frame with 2 option buttons:
The database is in Access 2000 and both OLE and DAO are in use in various forms.
It would be ideal if I could put an Event on the Opening form in which the user can choose with a simple click which BE they would like to be "linked" to. I have seen mentioned DoCmd.TransferDatabase, Environ() and an API() call for login but not sure how these may work.
If, in code, I have to "de-link" and "re-link" each table during the event, that is ok so long as the job is done.
Any ideas? Thanks in advance. The code would appear as follows (if it exists), e.g., in a frame with 2 option buttons:
Code:
If frmBE = 1 Then
' Link to Path A
MsgBox "You are now linked to the SERVER S: BE Tables"
Else
' Link to Path B
MsgBox "You are now linked to the LOCAL C: BE Tables"
End If
The database is in Access 2000 and both OLE and DAO are in use in various forms.