Wrox Programmer Forums
|
Access ASP Using ASP with Microsoft Access databases. For Access questions not specific to ASP, please use the Access forum. For more ASP forums, please see the ASP forum category.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Access ASP section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old October 6th, 2003, 05:40 AM
Registered User
 
Join Date: Oct 2003
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default Access Linked Tables

I am writing an ASP internet application using access 97.

The problem I have is that the goalposts have been moved (yet again!) and the database that was one may have to become many being used on subdomains of the same server sharing some information but not all from a 'global' database.

The solution I initially found was to used linked tables and developing it on pws this was perfect. I linked local databases to the tables in the 'global' database hey presto the application ran smoothly there was only 1 connection to each local database and I could retrieve all the information I needed from the global one. However on uploading I have no idea how to set this via asp or sql as online the path of the linked tables is what was on my local machine and I have found no way of being able to edit this.

Please could someone help with this or suggest an alternative direction to look for a solution. I realise I could do this with 2 separate connections with a bit of reworking of code but I would rather find a way with 1.

thanks
Stephen.

 
Old October 6th, 2003, 06:01 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 1,212
Thanks: 0
Thanked 1 Time in 1 Post
Default

Maybe one of the articles here http://www.mvps.org/access/tables/index.html will help you, e.g. the one entitled "Relink Access tables from code".
 
Old October 6th, 2003, 09:01 AM
Registered User
 
Join Date: Oct 2003
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks pgtips but I am coding in classic asp and the articles of interest appear to be in asp.net. Do you know if they would be easily converted? if so I will attempt to do so.

 
Old October 6th, 2003, 09:12 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 1,212
Thanks: 0
Thanked 1 Time in 1 Post
Default

Actually they are written in Access VBA. I think the idea is that you put them in your Access db and run them from there...
 
Old October 6th, 2003, 09:37 AM
Registered User
 
Join Date: Oct 2003
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I have possibly posted onto the wrong forum so bare with me, how would I go about doing this, and will it run via a web browser as I use a third party web host?

 
Old October 6th, 2003, 09:50 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 1,212
Thanks: 0
Thanked 1 Time in 1 Post
Default

Sorry, i know nothing about the intricacies of running your db on a 3rd party host.
 
Old October 6th, 2003, 10:08 AM
Registered User
 
Join Date: Oct 2003
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks any way,
I may have to post this on another forum.






Similar Threads
Thread Thread Starter Forum Replies Last Post
Accessing Linked SQL tables in Access seran128 Classic ASP Professional 0 April 3rd, 2006 10:39 PM
Linked Tables ru1 Access 1 September 21st, 2005 07:24 AM
Read Linked tables in Access from VB code meggan VB Databases Basics 3 March 4th, 2005 11:26 AM
Access - Linked ODBC Tables Ben Access 0 July 24th, 2003 10:39 AM
Want to code external linked tables in Access Michael Allaire Access VBA 1 July 23rd, 2003 06:11 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.