Thanks for helping. It's getting better.
When the BE is in the same folder, it works.
When the BE is in a sub folder, the startup form comes up and the
click to browse works, but then doesn't disappear after the user links
the tables.
But when the BE is in a completely different folder or over a network,
I get an error message that the BE database could not be found and the
VB window highlights this Reconnect Function code by PETER VUKOVIC in
yellow:
db.TableDefs(i).RefreshLink
Does this code need any tweaking or were you able to use it as is?I
didn't do the Macro:AutoExec. But I'm assuming that just calling the
Reconnect function on the Open Startup form event is the same.
Here's the complete code from the internet:
Function Reconnect()
'**************************************************************
'* START YOUR APPLICATION (MACRO: AUTOEXEC) WITH THIS FUNCTION
'* AND THIS PROGRAM WILL CHANGE THE CONNECTIONS AUTOMATICALLY
'* WHEN THE 'DATA.MDB' AND THE 'PRG.MDB'
'* ARE IN THE SAME DIRECTORY!!!
'* PROGRAMMING BY PETER VUKOVIC, Germany
'* (e-mail address removed)
'* ************************************************************
Dim db As Database, source As String, path As String