473,657 Members | 2,566 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Reconnecting Front to Back end in Developer

Thank you for your assistance in advance. I'm trying to figure out why on my
computer the front and back ends are ok, when I use Access developer and set up
the program with the front and back ends in the same install folder, I get
errors and no way to reconnect the front and back end on the foreign computer.
Is there something in the developer package that allows this to happen, that
I'm not loading with the program and setup files?

Michael
Nov 12 '05 #1
5 2264
Lumpierbritches wrote:
Thank you for your assistance in advance. I'm trying to figure out
why on my computer the front and back ends are ok, when I use Access
developer and set up the program with the front and back ends in the
same install folder, I get errors and no way to reconnect the front
and back end on the foreign computer. Is there something in the
developer package that allows this to happen, that I'm not loading
with the program and setup files?

Michael


You will need to use the Linked Table Manager add-in to relink your
tables or write/get some code that will refresh the links. The link
stores the physcial logation of the file (eg. C:\database\myd ata.mdb).
When moving the data file to the server the link information needs to be
changed to reflect the new location.
--
regards,

Bradley
Nov 12 '05 #2
Thank you, I'm aware that it's stored, but when you compile and use developer,
the link manager isn't part of the develpment package, that I'm aware of, so
how do you relink on the foreign machine?

Michael
Nov 12 '05 #3
In the Setup (developer), there is NO linked table manager. That resides within
Access, as far as I can see.

Michael
Nov 12 '05 #4
Well, I am sure that you know any good developer will provide some code that
handles this linking problem.?

Surely you can't expect your users to use, and have to learn about the
linked table manager?
(how much pain are you trying to inflict on your users?. Perhaps you don't
like them very much!! ;-) )

And, as you rightly point out that the runtime does NOT include the linked
table manager anyway!

If you have reached the point of wanting to distribute your application,
then I am sure that a long time ago you hid the ms-access interface. And,
thus since you long ago hid the ms-access interface..then how have your
provided your users with a means to re-link in the past?

Most developers have simply lifted the code that re-links table from here:

http://www.mvps.org/access/tables/tbl0009.htm

The code to launch up the standard windows file dialog can be found here:

http://www.mvps.org/access/api/index.html

With all of the above hard code written...after an hour or so you can cobble
together a nice routine that allows your users to re-link. In fact, if the
back end table is in the same dir at the front end...then why no attempt a
re-link in your code to the same dir first? This way, if a user moves the
front end, and back end to a different dir..you will not even prompt the
user...and the user will never even know that re-linking had to happen!

Setting up some routines to handling re-linking scenarios is something that
everyone should incorporate into their applications. I even have a re-link
option that I can set before I send the file to a user (when it starts..it
will re-link to the specified dir).

Anyway..the above code is free for the taking..and you can easily use it to
come up with a solution that fits your needs. Doing this will save tons of
support calls. And, any support call that requires your users to re-link
will also be very easy. You can make a re-link button in your custom
menus...(you are using custom menus...right?? ).

By the time you get around to developing a polished application for
distribution with the runtime..you will have likely had your own re-linking
code running for years.
--
Albert D. Kallal (MVP)
Edmonton, Alberta Canada
pl************* *****@msn.com
http://www.attcanada.net/~kallal.msn
Nov 12 '05 #5
Create a button with this code on click behind it and see if it activates
the linked table manager?

Call Application.Run ("acwztool.att_ Entry")

"Lumpierbritche s" <lu************ *@aol.com> wrote in message
news:20******** *************** ****@mb-m11.aol.com...
In the Setup (developer), there is NO linked table manager. That resides within Access, as far as I can see.

Michael

Nov 12 '05 #6

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

Similar topics

12
9892
by: Corey Burnett | last post by:
I have a client that has a split database (front-end/back-end). They are also using Access security - MDW file. The front end MDE file, the back end MDB file, and the MDW file are all located on a shared folder on the file server. They have two populations of users - local and remote. *ALL* users currently get to the system via a Citrix login. They log in to Citrix and get a Citrix desktop. Then they start the application via a...
2
2396
by: Lumpierbritches | last post by:
Thank you for any and all assistance. I'm trying to build a small application. On my computer the front and backend work great, until I change the name of the original files to something else, or install it on a computer without MS Access. Then the link is broken...HELP! Is there a way to keep the link there, or relink the two databases? Michael
1
2021
by: Lumpierbritches | last post by:
I'm developing a small program that I would like to have a front and backend, so when I change the forms, all I have to do is upload the file on the frontend and if I change the tables, I can append the data. The problem I'm having is when I break the db, the front and backend go flawless. When I package and place in the P&D Wizard, I place both in with the Runtime and Workgroup along with relevant icons. When I install it on a foreign...
5
324
by: Lumpierbritches | last post by:
Thank you for your assistance in advance. I'm trying to figure out why on my computer the front and back ends are ok, when I use Access developer and set up the program with the front and back ends in the same install folder, I get errors and no way to reconnect the front and back end on the foreign computer. Is there something in the developer package that allows this to happen, that I'm not loading with the program and setup files? ...
49
14323
by: Yannick Turgeon | last post by:
Hello, We are in the process of examining our current main application. We have to do some major changes and, in the process, are questionning/validating the use of MS Access as front-end. The application is relatively big: around 200 tables, 200 forms and sub-forms, 150 queries and 150 repports, 5GB of data (SQL Server 2000), 40 users. I'm wondering what are the disadvantages of using Access as front-end? Other that it's not...
2
1940
by: Alok Jain | last post by:
Hi, We are using Front Controller implementation in our DotNet application. I am trying to hide URL in my application. This is based on Front Controller model. I am able to achieve if I do not use postback in ASP.Net control. If I post back from a ASP.Net control it takes me to the correct page and the URL is displaeyd as it is.
35
2545
by: robert d via AccessMonster.com | last post by:
I was asked to provide a proposal. I provided a proposal on my application and the prospective client likes what I have but is wary of it having been developed in Access. I don't understand this concern since my front-end application will be linked to a SQL SERVER backend. But there seems to be this "conventional wisdom" among IT people that Access is a toy database. Okay, let's redefine that as "Jet" is a toy database (which I don't...
3
2739
by: rdemyan via AccessMonster.com | last post by:
I'm thinking about providing a relatively easy method for users to restore the front end from a backup. The purpose is to allow for restoring if the front end becomes corrupt. Here are some particulars about my app 1) The front end is distributed as a .mde file. 2) Front end uses workgroup security 3) A separate logon form is used to actually launch the front end. 4) My app includes a backup front end form, that backups the front end...
5
6244
by: The alMIGHTY N | last post by:
Hi all, Let's say I have a simple math formula: sum (x * y / 1000) / (sum z / 1000) I have to do this across 50 items, each with an x, y and z value, when the page first loads AND when a user modifies any of the x, y and z values.
4
2148
by: Simon | last post by:
Dear reader, The indication of a Table from a back-end is open in the frond end will be shown in the back-end folder by the "ldb" lock file. This lock file pops up if a table from the back-end is open in the front-end. I have a form without any table or query RecordSource.
0
8397
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, 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...
0
8310
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8827
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, 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...
0
8605
tracyyun
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...
1
6167
isladogs
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...
0
5632
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();...
0
4315
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
1957
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1620
bsmnconsultancy
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...

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.