Note that Access also stores the full path in the Description property of the tabled.
CurrentDb.Tabledefs("tblLinked").Properties("Description")
The full string is preceded by "DATABASE=", so if you want just the full path, use Mid( … , 10)
John Viescas, Author
Effective SQL
SQL Queries for Mere Mortals
Microsoft Access 2010 Inside Out
Microsoft Access 2007 Inside Out
Microsoft Access 2003 Inside Out
Building Microsoft Access Applications
(Paris, France)
On Feb 16, 2017, at 1:02 PM, qingqinga qingqinga@yahoo.com [MS_Access_Professionals] <MS_Access_Professionals@yahoogroups.com> wrote:
Duane,
Yes, I need to get the path for folder as well. Would you please give an example of getting the path for folder? Thanks.
Best Regards,
Kevin
发自我的小米手机
在 "Duane Hookom duanehookom@hotmail.com [MS_Access_Professionals]" <MS_Access_Professionals@yahoogroups.com>,2017年2月16日 15:22写道:
From: MS_Access_Professionals@yahoogroups.com <MS_Access_Professionals@yahoogroups.com> on behalf of 'qingqinga@yahoo.com' qingqinga@yahoo.com[MS_Access_Professionals] <MS_Access_Professionals@yahoogroups.com>
Sent: Wednesday, February 15, 2017 10:16 PM
To: MS_Access_Professionals
Subject: [MS_AccessPros] How to get the path where the backend locates with code?
Dear All,How to get the path where the backend locates with code? Thanks in advance!Best Regards,Kevin
__._,_.___
Posted by: John Viescas <johnv@msn.com>
Reply via web post | • | Reply to sender | • | Reply to group | • | Start a New Topic | • | Messages in this topic (4) |
Have you tried the highest rated email app?
With 4.5 stars in iTunes, the Yahoo Mail app is the highest rated email app on the market. What are you waiting for? Now you can access all your inboxes (Gmail, Outlook, AOL and more) in one place. Never delete an email again with 1000GB of free cloud storage.
.
__,_._,___
Tidak ada komentar:
Posting Komentar