N
Nick Del Vecchio
OK I've been playing around with this for a couple of days now and
have found a few suggestions as to how to do it. But I still can't
get it to work.
Basically, I have a Frontend called FEApp.mde and a file called
DataPath.ini in one folder and a Backend called BEdata.mdb on another
shared computer. The DataPath.ini file and has only one line in it.
\\PC1234\SharedDocs\BEdata.mdb
On another forum, someone posted a suggestion to have this code in the
Front End
Dim strFile As String
Dim intFile As Integer
strFile = App.Path & "\DataPath.ini"
intFile = FreeFile()
Open strFile For Input As intFile
Line Input #intFile, gblDataPath
Close intFile
MsgBox gblDataPath
However, there is no mention as to where to put it or how to call
it.
Does anyone know how to get this to work so that when I launch the
front end, it looks as the ini file for the path to the backend and
refreshes the links to the tables in that backend?
have found a few suggestions as to how to do it. But I still can't
get it to work.
Basically, I have a Frontend called FEApp.mde and a file called
DataPath.ini in one folder and a Backend called BEdata.mdb on another
shared computer. The DataPath.ini file and has only one line in it.
\\PC1234\SharedDocs\BEdata.mdb
On another forum, someone posted a suggestion to have this code in the
Front End
Dim strFile As String
Dim intFile As Integer
strFile = App.Path & "\DataPath.ini"
intFile = FreeFile()
Open strFile For Input As intFile
Line Input #intFile, gblDataPath
Close intFile
MsgBox gblDataPath
However, there is no mention as to where to put it or how to call
it.
Does anyone know how to get this to work so that when I launch the
front end, it looks as the ini file for the path to the backend and
refreshes the links to the tables in that backend?