Rabu, 15 Februari 2017

Re: [MS_AccessPros] How to get the path where the backend locates with code?

 

Kevin,


This depends on if the tables are Access or some other source. For Access you can use:

     Mid(Currentdb.TableDefs("tblFactories").Connect,11)

This will get the full path and file name. You can use Len(), Left(), and other string function if all you want is the folder.


Regards,

Duane





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: Duane Hookom <duanehookom@hotmail.com>
Reply via web post Reply to sender Reply to group Start a New Topic Messages in this topic (2)

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