Question : using OpenCurrentDatabase to open a accdr file

I'm trying to use the command  OpenCurrentDatabase to open a accdr file, this doesn't seem to work has any one got any ideas  
Code Snippet:
1:
2:
3:
4:
Set appInSight = CreateObject("Access.Application")
 
 
appInSight.OpenCurrentDatabase "z:\Office\People.accdr"

Answer : using OpenCurrentDatabase to open a accdr file

From what I have been able to gather, Access cannot create a database object from a runtime version using the OpenCurrentDatabase method.
Random Solutions  
 
programming4us programming4us