freelanceprogrammers.org Forum Index » Visual Basic
Database path
Joined: 11 Apr 2005
Posts: 1
Database path
I have a VB application that runs on a client computer and the Access
database for the application is sitting on a server. The system is
networked and I have a map drive to the database on the server which
is a shared file. That mapped drive is coded into the application to
gain access to the database. I am having some problems accessing some
of the reports on the Access database and in my troubleshooting I want
to try to write a message out that would tell me what path it is
accessing when it goes to the database for information. I tried using
App.Path but that only gives me the path of the application on the
client machine. Is there a command or function that could read the
networked database path and tell me what my program is really trying
to access?
Thanks
Kim
Joined: 06 Apr 2005
Posts: 3
Database path
If you are communicating with an Access database on a remote
machine, then the path to that database must be in the connection
string. If you look there, you can be certain of which Access file
it is connecting to.
Hope this helps,
Mike
--- In VBBeginners@yahoogroups.com, "kimmiethang" <kimmiethang@y...>
wrote:
>
> I have a VB application that runs on a client computer and the
Access
> database for the application is sitting on a server. The system
is
> networked and I have a map drive to the database on the server
which
> is a shared file. That mapped drive is coded into the application
to
> gain access to the database. I am having some problems accessing
some
> of the reports on the Access database and in my troubleshooting I
want
> to try to write a message out that would tell me what path it is
> accessing when it goes to the database for information. I tried
using
> App.Path but that only gives me the path of the application on the
> client machine. Is there a command or function that could read
the
> networked database path and tell me what my program is really
trying
> to access?
> Thanks
> Kim
All times are GMT
Page 1 of 1
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Freelace Website Designer - Customer web design and software building.
China Wholesale - Electronics Products
Character Studio - Tutorials and Help
China Wholesale - Electronics Products
Character Studio - Tutorials and Help







