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