Ofer,
Then perhaps you need to re-register the DAO object library. All of the
following should work as the control source for a textbox on a form, when
using Access 2000 or later:
Returns the full path (path + filename):
=Currentproject.FullName
Returns the path only
=currentproject.path
Returns the full path (path + filename). This works in earlier versions of
Access as well, but requires a reference to the DAO library:
=Currentdb.Name
Tom
http://www.access.qbuilt.com/html/expert_contributors.html
__________________________________________
:
I do have reference to DAO, but plaese don't bother yourself about it, I'm
sure you have enough on your mind