Kevin,
Congrats. Always feels good to figure things out. #GeekRush
Duane
Sent: Thursday, February 16, 2017 7:40 PM
To: MS_Access_Professionals
Subject: Re: Re: [MS_AccessPros] How to get the path where the backend locates with code?
Date: 2017-02-16 20:26Subject: Re: [MS_AccessPros] How to get the path where the backend locates with code?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: Duane Hookom <duanehookom@hotmail.com>
Reply via web post | • | Reply to sender | • | Reply to group | • | Start a New Topic | • | Messages in this topic (9) |
Tidak ada komentar:
Posting Komentar