Connecting Tech Pros Worldwide Help | Site Map
 
 
LinkBack Thread Tools Search this Thread
  #1  
Old September 6th, 2006, 09:45 AM
jpr
Guest
 
Posts: n/a
Default Help or Suggestions on how to change path

Hello,

I have almost ultimate my database which works with forms that export
their data to word documents.

The code behind the forms indicates that path to which it will find the
word documents.

As I will be sharing my program with several offices, I will need that
each Office will have to change the path based on their server name.

Examples of path: \\ABC123\shared\templates\mydoc.dot

Is there a way each office or better on person which will be the
database administrator can change the ABC123 in all forms without
having to open each one in design view and manually make the change?

I was thinking of some kind of text box where to write the path and a
cmd that will do it for us.

Appreciate any help. Thanks.

  #2  
Old September 6th, 2006, 10:25 PM
Phil Stanton
Guest
 
Posts: n/a
Default Re: Help or Suggestions on how to change path

I tend to have a table with company information and path informtion calles
"TblPaths". It holds such things as a default path to photos associated with
that particular database, DatePath (where the back end DB is held) etc. So
you could have a paths table including WordPath and use DLookup("WordPath",
"TblPaths") or better still if you have the ELookup function, use that.
Assuming you are running the front end DB on a number of computers, and the
Back end on a server, you need to keep the TblPaths with the back end

HTH

Phil


"jpr" <jprma@tin.itwrote in message
news:1157533165.507104.97440@p79g2000cwp.googlegro ups.com...
Quote:
Hello,
>
I have almost ultimate my database which works with forms that export
their data to word documents.
>
The code behind the forms indicates that path to which it will find the
word documents.
>
As I will be sharing my program with several offices, I will need that
each Office will have to change the path based on their server name.
>
Examples of path: \\ABC123\shared\templates\mydoc.dot
>
Is there a way each office or better on person which will be the
database administrator can change the ABC123 in all forms without
having to open each one in design view and manually make the change?
>
I was thinking of some kind of text box where to write the path and a
cmd that will do it for us.
>
Appreciate any help. Thanks.
>

 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Popular Articles

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over 205,248 network members.