By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,568 Members | 1,688 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,568 IT Pros & Developers. It's quick & easy.

Browse and Store fileaname

P: n/a
Bob
Greetings!

I need to use the windows browse dialog to select and store a
fileaname.

I can get the filename with the path no problem. But I ONLY want to
return the filename.

Does anyone know how I can just return the filename?

Thanks!

Bob

Dec 5 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
You can parse the file name from the fully qualified path with InstrRev()
and Mid().

Alternatively, Dir() around the fully qualified path will return the file
name.

--
Allen Browne - Microsoft MVP. Perth, Western Australia.
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.

"Bob" <st***********@hotmail.com> wrote in message
news:11**********************@f14g2000cwb.googlegr oups.com...
Greetings!

I need to use the windows browse dialog to select and store a
fileaname.

I can get the filename with the path no problem. But I ONLY want to
return the filename.

Does anyone know how I can just return the filename?

Dec 6 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.