473,394 Members | 1,740 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

Help or Suggestions on how to change path

jpr
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.

Sep 6 '06 #1
1 1661
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" <jp***@tin.itwrote in message
news:11*********************@p79g2000cwp.googlegro ups.com...
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.

Sep 6 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: michaaal | last post by:
I have two folders in my website... Folder1 (this is where my #include file is, this is where the style.css is) --Folder2 (Folder2 is inside of Folder1) Folder2 contains a file that has...
8
by: baustin75 | last post by:
Posted: Mon Oct 03, 2005 1:41 pm Post subject: cannot mail() in ie only when debugging in php designer 2005 -------------------------------------------------------------------------------- ...
10
by: Bharat | last post by:
Hi Folks, Suppose I have two link button on a page (say lnkBtn1 and lnkBtn2). On the click event of the lnkbtn1 I have to add a dynamically created control. And On the click event of the lnkBtn2 I...
2
by: Brett | last post by:
I uploaded an ASP.NET website from my developer machine to a remote server. The paths differ slightly as follows: Local Path: C:\Inetpub\wwwroot\mysite Server Path: C:\Inetpub\mysite.com\ I...
45
by: Gregory Petrosyan | last post by:
1) From 2.4.2 documentation: There are two new valid (semantic) forms for the raise statement: raise Class, instance raise instance 2) In python: >>> raise NameError Traceback (most recent...
4
by: Debbiedo | last post by:
My software program outputs an XML Driving Directions file that I need to input into an Access table (although if need be I can import a dbf or xls) so that I can relate one of the fields...
0
by: almurph | last post by:
Folks, Hope that you can help me here. Just a quick question. I as using IIS 5.1 and can download a web service from SourceSafe onto my developers box. Let call the project "WebServiceA" ...
5
by: Justin | last post by:
Here's my XML: <?xml version="1.0" ?> <AppMode Type="Network"> <CurrentFolder Path="c:\tabs"> <Tabs> <FilePath>tabs\Justin.tab</FilePath> <FilePath>tabs\Julie.tab</FilePath> *****There could...
6
by: priyajohal | last post by:
#include<fstream.h> #include<process.h> #include<stdlib.h> #include<conio.h> #include<string.h> #include<dos.h> #include<ctype.h> #include<stdio.h> void setup() void help();
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.