Not very likely but app.path could return "C:\", in which case that would blow upOriginally posted by filburt1
There was no backslash, and the + might have done something weird. Does the code help at all?VB Code:
DataSource = App.Path & "\file.mdb"
That way, it will always have a backslash at the endVB Code:
Dim strAppPath as string If right$(app.path,1) <> "\" Then strapppath=app.path & "\" else strapppath=app.path end if




Reply With Quote