OK, well I use this code to open a seperate dB and run it...
Dim strAccDB as String, strAccLoc as String
strAccDB = """" & "dBPath" & """"
strAccLoc = SysCmd(acSysCmdAccessDir) & "MSACCESS.exe"
Call Shell(strAccLoc & " " & strAccDB, vbMaximizedFocus)
Give it a shot, I'm just using "Shell" to open the dB, but the strAccLoc variable is set to the location of Access on the Machine (or on the server if you're running thin-client) so the Shell call can work. Kyle
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.