Open File Path

AlanBates
05-24-2001, 07:01 AM
I am trying to run code which will return the path name of the file that is being opened. e.g. I have an Access Database which could have be copied into a different folder from where I want it to stay. I would like it to check where it is as it opens. Does that make sense?

karimahta
05-24-2001, 07:03 PM
<font color=blue>CurrentDB.Name</font color=blue> is the property you are after. This includes the full path and file name of the database.


HTH

<font color=blue>Better to remain a fool than write a quote and remove all doubt. (****!!)</font color=blue>

AlanBates
05-25-2001, 01:35 AM
Thankyou, it works fine.

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum