Access looks for a particular drive.

B

billyboy2

A colleague was programming our Access database before I was asked to make a
few changes on it because we changed PCs. On loading, it tries to locate
the .mdb & graphic files on a particular drive - \\mdb-filesrv\goodguys.
"mdb-filesrv" was the network name of the former PC which is no longer in
use, and "goodguys" was the name of the folder with the "goodguys.mdb" file.
I've use the "Find" menu command to search through the vba codes for a clue
without luck. Please, how do I make it point to the new PC whose network
name is "mdb-filesrv-2": The folder is still the same - "goodguys".
Thanks.
- Billy Boy II.
 
S

Steve Schapel

Billy Boy,

This could be done with a macro, in which case you won't of course find
it with a search of VBA code. Another common approach would be to have
this value (the file path) stored in a table somewhere, or in an .ini
file that the application refers to. The first step I would take here
is to look at these places for clues:
- a macro called autoxec
- under the Tools|Startup menu
- the event properties for the Load or Open event of any form which
opens as soon as the application is started
 
D

Douglas J. Steele

You've already received possible solutions to this question in another of
the newsgroups to which you posted the same question.

If you feel you need to post to more than one group (HINT: it's seldom
necessary), please have the courtesy to cross-post (send the one message to
all groups at once), rather than multi-post (send individual messages to
each group). In this way, all responses to your post will be available
together, regardless of what group the responder was in, and the rest of us
won't have to read your post multiple times. (It also uses fewer server
resources)

I see you're using Outlook Express. Click the "Newsgroups:" label to the
left of the box containing the name of the current newsgroup. That will open
a dialog that will let you add additional newsgroups to your post.

Note that it's generally consider to be A Bad Thing to cross-post to more
than about 2 or 3 newsgroups. (In fact, at
http://www.microsoft.com/presspass/features/2001/Mar01/Mar27pmvp.asp
Microsoft suggests that "One group will suffice")
 
B

billyboy2

A special 'Thank U' to all the nice folks in these groups who help novices
like me. The suggestions you offered were of great and instant help.
Problem fixed! I'm sorry that I posted the problem in several boards -
guess I was desperate. Hope you help a lot more others. Thanks again.
- Billy Boy II.
 
S

Steve Schapel

Well, actually what you apparently did was "multi-post". Cross-post is
preferable.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top