Roger's Access Library Homepage
Forum Home Forum Home > Roger's Access Library > Roger's Download Samples
  New Posts New Posts RSS Feed - GetPathFileName.mdb (intermediate)
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Please consider donating $1 per sample downloaded, (find out why here)

GetPathFileName.mdb (intermediate)

 Post Reply Post Reply
Message Reverse Sort Order
Roger Carlson View Drop Down
Microsoft MVP
Microsoft MVP

Joined: 20 Feb 2008
Status: Offline
Points: 261
Post Options Post Options   Thanks (0) Thanks(0)   Quote Roger Carlson Quote  Post ReplyReply Direct Link To This Post Topic: GetPathFileName.mdb (intermediate)
    Posted: 01 Aug 2008 at 4:10am

Please consider donating $1 per sample downloaded, find out why here.


This form shows how to extract just the Path or just the File name from the db.Name property. These routines are used two ways here. In the OnOpen event of the form, the unbound text boxes are filled. Also if you push the "Show Path and File" button, you will run a subroutine which outputs the path and file in message boxes.

The routines are in the "basPathFileName" module, and can be imported into any database.

Access 97 (22 KB):
Access 2000 ADO (36 KB): uploads/5/

Consider donating $1 per sample downloaded, find out why here.<
Back to Top
Sponsored Links

Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.03
Copyright ©2001-2019 Web Wiz Ltd.