I just need to know gnerally what commands/api I would need to look up
documentation for, if this can be done at all.
I have some users who take copies of an Access database home with them
to do analysis. I am going to split the database however, and that
means that they will have to copy the backend and then relink to that
local copy in their frontend when they are not on the network.
In other words, manually: Copy backend to local computer, disconnect
form network and go home, open local frontend, open linked table
manager, select all, select prompt for new location, click ok, browse
to backend file, etc.
Instead, implemented programmaticall y: Copy backend to local computer,
disconnect form network and go home, open local frontend, run a
form/command/query(whichever gets the job done), a select file dialog
comes up, user chooses the local backend, the code updates all links.
That way I can set this up as a button the user clicks. 1 1650 sh******@cs.fsu .edu wrote: I just need to know gnerally what commands/api I would need to look up documentation for, if this can be done at all.
I have some users who take copies of an Access database home with them to do analysis. I am going to split the database however, and that means that they will have to copy the backend and then relink to that local copy in their frontend when they are not on the network.
In other words, manually: Copy backend to local computer, disconnect form network and go home, open local frontend, open linked table manager, select all, select prompt for new location, click ok, browse to backend file, etc.
Instead, implemented programmaticall y: Copy backend to local computer, disconnect form network and go home, open local frontend, run a form/command/query(whichever gets the job done), a select file dialog comes up, user chooses the local backend, the code updates all links.
That way I can set this up as a button the user clicks.
You can search this group or the web through Google and find lots of
code samples. Here is one of the more popular sources: http://www.mvps.org/access/tables/tbl0009.htm
--
'---------------
'John Mishefske
'--------------- This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Ray |
last post by:
I have a split DB running on a network, with code to relink to tables on
launch of the client is they are broken.
Usually, this works fine, but for some reason just hangs if another user is
using the system. Any idea why and what I can do about it?
Ray
|
by: Dave Boyd |
last post by:
Are there arguments for the built-in commands called via RunCommand
such as acCmdNewObjectReport or do they always require interactive
input? Is the code behind the built-in commands exposed anywhere? At
one time there was some code available for wizards, is this all hidden
now?
Thanks!
|
by: Zlatko Matiæ |
last post by:
Is there any common method for programatical relinking of linked tables?
|
by: MikeM |
last post by:
I've been trying to locate some property or method that will allow
programmatic access to the "loginUrl" attribute in the web.config file in the
<system.web> -> <authentication> element when the config file is set up for
Forms Authentication. I know certain system.web settings get mapped to
various properties/methods during runtime (e.g. <sessionState>'s timeout
attribute maps to the Session.Timeout property at runtime). You can easily...
|
by: Daniel |
last post by:
programmatic to ftp virtual directories
when i connect to an ftp server and i only have access to a few of the ftp
virtual directories, do i just change directory to them after connecting and
having credentials authorized? is there some special protocol for changing
directories to authorized virtiual directories?
| |
by: cmd |
last post by:
I use the following code (behind a command button on the FE) to relink
from a user's local copy of the BE to the file-server's BE on our LAN.
I use this, for example, when a person brings in their laptop and
connects to our LAN.
The code works fine if there are no other users accessing the server's
BE at the time. If the file-server's BE is open at the time, however,
then the relinking process does not finish -- it just pauses. When...
|
by: Blaine Manyluk |
last post by:
I have a very unusual request.
I need to be able to generate reports and save them as TIF
files, with full programmatic control. The application will
provide the filenames. Each page of the report will be saved
as a seperate file. All the user should have to do is press a
button to generate the TIFs, without having to "touch the meat"
of viewing the report, choosing a file path/name, answering
prompts, etc.
|
by: williamphenryjr |
last post by:
This is a long post. If you have answers I'm ready. If you have web
links, that'd be great too. I'm a Junior/Senior in Computer Science at
Washington State University, so you can make some assumptions about
terminology I'll be familiar with based on that.
I am trying to write a class that will abstract out database access
stuff for my application. This class will be called DBUtil
I will use this class to do the gruntwork for a custom...
|
by: myzm |
last post by:
I want to provide a menu for user to log out system after they logged
in using the Login control. Nowhere I can find information about
programmatic logout. Any help? Thanks.
|
by: Arno R |
last post by:
Hi all,
I am deploying an A2k app to users with different versions of Access.
Using Access 2000 the relinking on startup (on deploying a new frontend or when backend has changed) is very fast.
It takes about 4-5 seconds to relink some 50 tables. (I am relinking, not refreshing)
Using Access 2003 the relinking is very slow compared with Access 2000.
Now It takes about 1,5 to 2 minutes !! to relink the same 50 tables.
I am testing...
|
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...
| |
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,...
|
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...
|
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: 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: 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: 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...
| |