I hope someone can help with this.
I have a website using Access and ASP developed on my own PC (using PWS) and
hosted on a commercial site.
I decided that splitting the dbase up would be a good management tactic; it
si easy to link from the main database and it works fine - on my own
machine.
Trouble is when I upload to the commercial host, it takes with it the
ABSOLUTE path of the linked database -which of course is different on the
website machine. If it used relative refs it would be fine but....
Does anyone know how to overcome this?
John Lewis 3 3474
"John Lewis" <jo**@cocreatio n.co.uk> wrote in message
news:bn******** **@news6.svr.po l.co.uk... I hope someone can help with this.
I have a website using Access and ASP developed on my own PC (using PWS)
and hosted on a commercial site.
I decided that splitting the dbase up would be a good management tactic;
it si easy to link from the main database and it works fine - on my own machine.
Trouble is when I upload to the commercial host, it takes with it the ABSOLUTE path of the linked database -which of course is different on the website machine. If it used relative refs it would be fine but....
Does anyone know how to overcome this?
John Lewis
I don't understand. Normally, in this newsgroup, "splitting" an Access
database means making two parts to the database: the back end contains the
data (tables only) and the front end contains everything else (forms,
reports, modules, etc). This is to keep the user interface separate from
the data. However, if you have developed an ASP site - the ASP pages are
the user interface - or do you mean you have more than one interface to
access the same data?
It looks like more of a simple ASP question not really for this newsgroup -
but your answer could lie in specifying
Server.MapPath( "MyDb.mdb")
rather than "C:\MyData\MyDb .mdb")
Fletcher
Thanks Flectcher; you are quite right, splitting does have a specific
meaning -my apologies for sloppy language.
What I should have said is that I am using linked tables as a means to,
errm, separate a single database into smaller chunks. This is for management
reasons - downloading a file of 10 MB is a drag!
I never refer to the path in ASP; the linking is transparent, entirely
inside Access.
So I'm still stuck for an answer.
John
"Fletcher Arnold" <fl****@home.co m> wrote in message
news:bn******** **@titan.btinte rnet.com... "John Lewis" <jo**@cocreatio n.co.uk> wrote in message news:bn******** **@news6.svr.po l.co.uk... I hope someone can help with this.
I have a website using Access and ASP developed on my own PC (using PWS) and hosted on a commercial site.
I decided that splitting the dbase up would be a good management tactic; it si easy to link from the main database and it works fine - on my own machine.
Trouble is when I upload to the commercial host, it takes with it the ABSOLUTE path of the linked database -which of course is different on
the website machine. If it used relative refs it would be fine but....
Does anyone know how to overcome this?
John Lewis
I don't understand. Normally, in this newsgroup, "splitting" an Access database means making two parts to the database: the back end contains
the data (tables only) and the front end contains everything else (forms, reports, modules, etc). This is to keep the user interface separate from the data. However, if you have developed an ASP site - the ASP pages are the user interface - or do you mean you have more than one interface to access the same data?
It looks like more of a simple ASP question not really for this
newsgroup - but your answer could lie in specifying Server.MapPath( "MyDb.mdb") rather than "C:\MyData\MyDb .mdb")
Fletcher
"John Lewis" <jo**@cocreatio n.co.uk> wrote in message
news:bn******** **@news6.svr.po l.co.uk... Thanks Flectcher; you are quite right, splitting does have a specific meaning -my apologies for sloppy language.
What I should have said is that I am using linked tables as a means to, errm, separate a single database into smaller chunks. This is for
management reasons - downloading a file of 10 MB is a drag!
I never refer to the path in ASP; the linking is transparent, entirely inside Access.
So I'm still stuck for an answer.
John
Hi John
Sorry I'm still not clear. What do you mean 'linked tables'? You mean you
have several .mdb files each with a number of tables? Do you understand the
use of Server.MapPath? Perhaps you could, for the puposes of de-bugging,
change your code so it prints the connection string to your browser without
trying to connect.
Fletcher This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: nosenia |
last post by:
Hello-
I created a MS Access 2002 database with linked tables on a SQL Server
database by way of a File DSN, A. I have created a form which points to
one of the linked tables. After I finished testing it in the
development environment I updated the path for all the linked tables to
a new File DSN, B. After this action, I opened the form to test adding
a new record and the "add new record" navigation button has been
disabled. Can...
|
by: Robert McGregor |
last post by:
Hi all,
I've got a Front End / Back End database that was working just fine.
One day i opened the FE to find that if I tried to open one of the
linked tables from the database window, nothing happened (hourglass
for about 2 seconds then nothing).
I tried relinking the tables and got the same response. (Access even
completely bombed out once with a Dr Watson failure).
|
by: RBohannon |
last post by:
I'm using Access 2000. I have a DB with 19 tables, and I have just
split it. When I look in the back end, all 19 tables are there.
However, only 17 of them in the front end are actually linked to the
back end. When I look at the table objects in the front end, two of
them do not have arrows to indicate they are linked. These same two
tables do not show up in the Linked Table Manager.
If I open the tables in design view and look at...
|
by: Rizaan Jappie |
last post by:
is it possible to get the relative path based on a absolute path in c#?
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
|
by: mukeshhtrivedi |
last post by:
Hi,
I have some MDB (MS Access 2000) files on our server. It is small
application created by one of our employee long time ago. I see this
application is on Network Drive G: and H: (both drive has same
databases, I don't know why). When user accesses this aplication it
opens Timecard.MDB from H: drive. (when I disconnect computer from
Network I get error saying couldn't find H: Drive).
I have copied all these MDBs to my XP computer on...
| |
by: ApexData |
last post by:
Hello
I currently Link the FE/BE using the LinkTables Option and the Linked
Table Manager. Any time I need to move the BE to another location, I
have to go through this process over again. I need the flexibility of
being able to move the BE data to wherever I want, without manually
going through this process. I just want to change the Path/Filename
that I keep in a FE Table.
I want to be able to place a Path/Filename in a FE Table...
|
by: Jon Slaughter |
last post by:
do I have to prefix every absolute path with document root to get it to
work?
For some reason I thought that prefixing a path with '/' or './' with make
it absolute w.r.t to document root but I guess not?
e.g., when I do
include './Scripts/AddNav.php';
|
by: franc sutherland |
last post by:
Hi everyone,
I am using Access 2003. I have a database with a table in it which is
linked to an excel spreadsheet. When I install the database on
someone else's system, the pathname to the excel file is different.
Howwever, as it is in runtime on their system, I can't update the link
using the Linked Table Manager.
Is there a way of using a public constant to store a path which can be
altered in advance and then combined with a...
|
by: Mike |
last post by:
I have a multiuser access database to which I have split into fe &
be. The system refreshes the links at each log-on between the fe & be
automatically via code.
PROBLEM:
Locally it runs perfectly... in the client server setting the re-
linking is extremely slow...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
| |
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |