Kamis, 16 Februari 2017

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

 

Duane-
Thanks a lot. I am going to try it tomorrow.
Best Regards,
Kevin



发自我的小米手机
在 "Duane Hookom duanehookom@hotmail.com [MS_Access_Professionals]" <MS_Access_Professionals@yahoogroups.com>,2017年2月16日 20:26写道:

 

Kevin,


What have you tried in order to pull a part of the string. Did you attempt with Mid() or Len()?


In case you hadn't noticed, I am holding back full solution so that you learn how to do some tasks on your own [😉]


Regards,

Duane


________________________________
From: MS_Access_Professionals@yahoogroups.com <MS_Access_Professionals@yahoogroups.com> on behalf of qingqinga qingqinga@yahoo.com [MS_Access_Professionals] <MS_Access_Professionals@yahoogroups.com>
Sent: Thursday, February 16, 2017 6:02 AM
To: MS_Access_Professionals@yahoogroups.com
Subject: Re: [MS_AccessPros] How to get the path where the backend locates with code?

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写道:




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






[Non-text portions of this message have been removed]

__._,_.___

Posted by: qingqinga <qingqinga@yahoo.com>
Reply via web post Reply to sender Reply to group Start a New Topic Messages in this topic (7)

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