That should work if there is an .ldb file. Check the argFullName value and
make sure it is accurate and has the full path name in it along with the
file name of the ldb.
I just tested here (Access 2000 and Windows XP) and it worked for me.
Dir(Replace(currentdb().name,".mdb",".ldb")) returned the name of the
associated ldb file.
>I have the following function which normally returns TRUE if a file exists:
>
[quoted text clipped - 12 lines]
>
> If you have a function that can do this, could you please post it? Thanks.
XP - 15 Nov 2006 18:05 GMT
Thanks John, you were right, I had a single character wrong in the path that
I overlooked...thanks.
> That should work if there is an .ldb file. Check the argFullName value and
> make sure it is accurate and has the full path name in it along with the
[quoted text clipped - 21 lines]
> >
> > If you have a function that can do this, could you please post it? Thanks.