473,394 Members | 1,481 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.

Problem - absolute path to linked tables

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

Nov 12 '05 #1
3 3455
"John Lewis" <jo**@cocreation.co.uk> wrote in message
news:bn**********@news6.svr.pol.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
Nov 12 '05 #2
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.com> wrote in message
news:bn**********@titan.btinternet.com...
"John Lewis" <jo**@cocreation.co.uk> wrote in message
news:bn**********@news6.svr.pol.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

Nov 12 '05 #3
"John Lewis" <jo**@cocreation.co.uk> wrote in message
news:bn**********@news6.svr.pol.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
Nov 12 '05 #4

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

Similar topics

0
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...
2
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...
6
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...
7
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!
10
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...
7
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...
6
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...
7
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...
4
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...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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
marktang
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,...
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,...

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.