i dont know if this resolves the problem, database must be cleary defined:

AccessFile = "P:\MyFolder\MySubFolder1\MySubFolder2\MyAccDB.accdb"