I deploy be-fe solutions to clients, and provide them with updates as a web
link to the Fe file, wrapped in an installer.
I can generally simulate their shares, if they are using a mapped drive.
However if they are not using mapped drives, and are using their own domain
server address, then I cannot simulate that so easy.
Can i manually change the address where the linked table objects point,
before deployment.?
(I cant do it with a relink, since the location i want to provide the link
for is not on my network, and having to get the client to do the relink
defeats the objective of providing a simple update solution)
I noted that the current link address is stored in the mSysObjects table,
but it appears not to be adjustable.
Thanks in advance.
Gerry Abbott, 3 4566
AFAIK, Gerry, there is no way to set the link to a non-existient location.
There are various ways to simulate it, but the simplest approach is probably
to test the existence of the back end on startup, and if not found, ask the
user to locate the file. There's an example of how to do that in the module
of solutions.mdb: http://msdn.microsoft.com/library/of...dbdownload.htm
--
Allen Browne - Microsoft MVP. Perth, Western Australia.
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.
"Gerry Abbott" <pl****@ask.i e> wrote in message
news:a0******** *********@news. indigo.ie... I deploy be-fe solutions to clients, and provide them with updates as a web link to the Fe file, wrapped in an installer. I can generally simulate their shares, if they are using a mapped drive.
However if they are not using mapped drives, and are using their own domain server address, then I cannot simulate that so easy.
Can i manually change the address where the linked table objects point, before deployment.? (I cant do it with a relink, since the location i want to provide the link for is not on my network, and having to get the client to do the relink defeats the objective of providing a simple update solution)
I noted that the current link address is stored in the mSysObjects table, but it appears not to be adjustable.
Thanks in advance.
Gerry Abbott
Thanks for the prompt reply, Allen,
Ive used the re-link code in other apps, but its still less than eloquent
especially if there several fe users to install for.
However, since that code uses the windows comdlg32.dll to get the file
location and name, i could replace that with
a 'known' file location and name. It could be hard coded, or held in a Fe
local table (that way I could modify it, if the be had to be moved)
This should eliminate user intervention after install. Would you see any
difficulties with this approach.
Gerry Abbott
"Allen Browne" <Al*********@Se eSig.Invalid> wrote in message
news:43******** *************** @per-qv1-newsreader-01.iinet.net.au ... AFAIK, Gerry, there is no way to set the link to a non-existient location.
There are various ways to simulate it, but the simplest approach is probably to test the existence of the back end on startup, and if not found, ask the user to locate the file. There's an example of how to do that in the module of solutions.mdb: http://msdn.microsoft.com/library/of...dbdownload.htm
-- Allen Browne - Microsoft MVP. Perth, Western Australia. Tips for Access users - http://allenbrowne.com/tips.html Reply to group, rather than allenbrowne at mvps dot org.
"Gerry Abbott" <pl****@ask.i e> wrote in message news:a0******** *********@news. indigo.ie...I deploy be-fe solutions to clients, and provide them with updates as a web link to the Fe file, wrapped in an installer. I can generally simulate their shares, if they are using a mapped drive.
However if they are not using mapped drives, and are using their own domain server address, then I cannot simulate that so easy.
Can i manually change the address where the linked table objects point, before deployment.? (I cant do it with a relink, since the location i want to provide the link for is not on my network, and having to get the client to do the relink defeats the objective of providing a simple update solution)
I noted that the current link address is stored in the mSysObjects table, but it appears not to be adjustable.
Thanks in advance.
Gerry Abbott
No, that's fine.
If you know ahead of time the path that it needs to connect to, and the
fully qualified file name is valid, the code that sets the Connect property
of the TableDef will run fine with no need to call the FileOpen dialog.
--
Allen Browne - Microsoft MVP. Perth, Western Australia.
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.
"Gerry Abbott" <pl****@ask.i e> wrote in message
news:GG******** ********@news.i ndigo.ie... Thanks for the prompt reply, Allen, Ive used the re-link code in other apps, but its still less than eloquent especially if there several fe users to install for. However, since that code uses the windows comdlg32.dll to get the file location and name, i could replace that with a 'known' file location and name. It could be hard coded, or held in a Fe local table (that way I could modify it, if the be had to be moved) This should eliminate user intervention after install. Would you see any difficulties with this approach.
Gerry Abbott
"Allen Browne" <Al*********@Se eSig.Invalid> wrote in message news:43******** *************** @per-qv1-newsreader-01.iinet.net.au ... AFAIK, Gerry, there is no way to set the link to a non-existient location.
There are various ways to simulate it, but the simplest approach is probably to test the existence of the back end on startup, and if not found, ask the user to locate the file. There's an example of how to do that in the module of solutions.mdb: http://msdn.microsoft.com/library/of...dbdownload.htm
"Gerry Abbott" <pl****@ask.i e> wrote in message news:a0******** *********@news. indigo.ie...I deploy be-fe solutions to clients, and provide them with updates as a web link to the Fe file, wrapped in an installer. I can generally simulate their shares, if they are using a mapped drive.
However if they are not using mapped drives, and are using their own domain server address, then I cannot simulate that so easy.
Can i manually change the address where the linked table objects point, before deployment.? (I cant do it with a relink, since the location i want to provide the link for is not on my network, and having to get the client to do the relink defeats the objective of providing a simple update solution)
I noted that the current link address is stored in the mSysObjects table, but it appears not to be adjustable. This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Lewis Veale |
last post by:
I have an Access 2000 front-end pointing at a SQL Server backend, with
around 80 linked tables and views. I frequently need to point the
front-end at different versions of the back-end, and achieve this by
relinking the tables and views to use a different DSN.
I use the Linked Table Manager > Select All > and tick the 'always
prompt for a new location' box, then click OK. It correctly pops up
the 'select data source' box, from which I...
|
by: m23 |
last post by:
Hi,
I have an access database unfortunately still running under access 97.
This contains a number of linked tables to another access 97 database.
I was wandering if there is a way to edit these links as the database
the linked tables links to has moved ie
c:\directory1\directory2\test.mdb
|
by: ghadley_00 |
last post by:
Hi,
I have an access database with a table linked to an external text file.
Occasionally the location of the database and the text file change (but
are always in the same directory). Is there a way to have the location
of the external text file be a relative, rather than absolute path (to
be .\textfile.txt rather than C:\dir\textfile.txt)?
Any advice that can be provided would be provided would be greatly
appreciated/
|
by: Richard Hollenbeck |
last post by:
Hello, I just moved my main database and the backend database to a better
location and changed the name. But now I can't seem to get Access to
recognize the new location and name. I tried using the linked table manager
under tools and that didn't change anything. Same thing with Get External
Data-linked table thing under File. Neither one worked. So I went into
tools again and checked startup and there is nothing there to change that I...
|
by: susan |
last post by:
Hi,
In my application I want the location of my application-database as well as
the location of my data-database to be displayed.
I retrieve the name of the application by:
ApplName = DBEngine(0)(0).Name
In the application I use links to the tables of my data-database.
How can I retrieve the location / name of the data-database?
| |
by: brucedodds |
last post by:
I've inherited an A2003 application with linked SQL Server 2000 tables
in the back end, using the Microsoft SQL Server ODBC driver.
We've set up a test SQL Server database. I'd like to automate the
process of relinking the application to test/prod.
I've found some code examples here of relinking ODBC back ends to
different databases, but they involve deleting the table before
relinking. My concern is that the primary key information...
|
by: ischwartz88 |
last post by:
Hi. I have written a script that searches through every field in every table in a given database. It works fine in most databases, however, when I run it in a database with Linked tables, the script crashes when it reaches a Linked table and tried to search through it.
My code is written below.
Option Compare Database
Sub MK5Search()
GenerateFieldSizeInfo
End Sub
|
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: prn |
last post by:
Hi folks,
Here's a weird one. We have a fair number of Access applications where the front end sits on a user's desk somewhere, but the data sits on a SQL server. We're in the process of retiring a SQL Server box that contains some of those databases and I've got the responsibility for the Access end of the changes. In most of the cases so far, it's been a matter of trotting over to the remote location and modifying the DSN (Control Panel >...
|
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
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: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
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: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
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...
| |