Getting Access filename only in 97

  • Thread starter Thread starter MarkCapo
  • Start date Start date
M

MarkCapo

Using Access XP you call the currentproject method and
pick up its name property to return the filename of the
current application file. I need to to a similar
function in 97 which only picks up the filename directly
rather than using a procedure that loops through the path
and filename to pick out filename from the
application.name result.

Can anybody help with this!

Thanks

mark
 
You can go:

Dim strFName As String

strFName = Dir(CurrentDb.Name)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top