Re: Can I set relative paths for linked tables instead of absolute path?

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



I think what you'll have to do is throw an ASP page on the server that does
Response.Write Server.MapPath("somefile")

Use that to figure out what directory structure you'll need, then duplicate
that on your local machine. Now, open the database in that new directory
and relink all the files.

When you upload the files, everything should work.

I think it's silly myself that they don't make relative linking easier, but
what do I know.

HTH;

Amy

"Hyko" <none@xxxxxxxxxxxxxxxxx> wrote in message
news:BFA90D5C.7C8E%none@xxxxxxxxxxxxxxxxxxxx
> Hello.
>
> If I link a table to my Access DB from another Access DB the absolute path
> to this DB is used. When I upload the database to the server, where I use
> the databases as data source for a web application it cannot find this
> path
> of course.
>
> How can I change the path of the connected table so that it is relative
> (both DBs are in the same directory)? Or how can I change the path at all
> before I upload it to the server where I cannot influence it anymore?
>
> Or is there any other possibility to link this table e.g. by System-DSN?
> As
> far as I tried it now it is not possible that way.
>
> Thanks in advance for any hints or suggestions,
>
> Heiko
>


.



Relevant Pages

  • Re: Can I set relative paths for linked tables instead of absolute path?
    ... way to run the Access file to get it to connect itself. ... sure the connection is pointed correctly before you upload. ... When I upload the database to the server, ...
    (microsoft.public.access.tablesdbdesign)
  • Re: HELP Access DB, ASP.NET 2.0 and whole lot of pain
    ... The new Sql Server 2005 is supposed to be great for storing files! ... >> Are you trying to store the file in your Access database? ... >>> In my Web App i have an upload feature and I've discovered that if i ... >>> spent writing to the Access Database.. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Document mangment in .net
    ... user will upload the document form here. ... uploaded from the client to the webserver server over a webservice. ... the user machine and database sitting on the webserver and webservices being ...
    (microsoft.public.dotnet.framework)
  • Re: Updating DB Locally
    ... >> have that update the database that's on the server. ... >> entries before I can import the text file to the server. ... the new version that I would want to upload would ...
    (comp.lang.php)
  • Re: photo popup that changes size depending on pic?
    ... you would have to check the width and height of each image before you upload via FTP to the ... FrontPage Resources, WebCircle, MS KB Quick Links, etc. ... problem with the server, but the people who "work" at the server do not know anything about it. ... > So, I create a Database results region on the page, insert a picture in there. ...
    (microsoft.public.frontpage.client)