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 4 2074
On Sun, 30 Nov 2003 09:37:22 +0000 (UTC) in comp.databases. ms-access,
"Ray" <ra*******@soft home.yeahright. net> wrote: 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?
Hangs or just takes a long time? If in 2K or 2K2 it can take a long
time due to it disconnecting from the back end after each operation,
it then tries to delete the .ldb file from the back end, if this is
open by another user it takes a few retries before giving up.
In this case, link one table and open a form bound to it, or open the
BE database in code and hold a recordset open, in both cases, keep
that open for the duration of the app, not just the relinking as it
tries to do the same thing when closing the lats form as well.
--
A)bort, R)etry, I)nfluence with large hammer.
Thanks, Trevor, that's an enormous help. I'll try it out first thing
tomorrow.
Ray
"Trevor Best" <bouncer@localh ost> wrote in message
news:77******** *************** *********@4ax.c om... On Sun, 30 Nov 2003 09:37:22 +0000 (UTC) in comp.databases. ms-access, "Ray" <ra*******@soft home.yeahright. net> wrote:
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
isusing the system. Any idea why and what I can do about it?
Hangs or just takes a long time? If in 2K or 2K2 it can take a long time due to it disconnecting from the back end after each operation, it then tries to delete the .ldb file from the back end, if this is open by another user it takes a few retries before giving up.
In this case, link one table and open a form bound to it, or open the BE database in code and hold a recordset open, in both cases, keep that open for the duration of the app, not just the relinking as it tries to do the same thing when closing the lats form as well.
-- A)bort, R)etry, I)nfluence with large hammer.
"Trevor Best" <bouncer@localh ost> wrote in message
news:77******** *************** *********@4ax.c om...
(snip) In this case, link one table and open a form bound to it, or open the BE database in code and hold a recordset open, in both cases, keep that open for the duration of the app,
Or just hold the db open:
set db = dbengine.openda tabase("path to BE")
That is all it really needs :-)
TC
On Mon, 1 Dec 2003 16:20:20 +1200 in comp.databases. ms-access, "TC"
<a@b.c.d> wrote: Or just hold the db open:
set db = dbengine.openda tabase("path to BE")
That is all it really needs :-)
D'Oh!
;-)
--
A)bort, R)etry, I)nfluence with large hammer. This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Don Leverton |
last post by:
Hi All,
I've got a situation where I am developing an Access 97 app for a client,
and am in the "beta testing" stage.
I have split the app up, using the DB splitter, into front-end /back-end
for the usual reason ... so I can mess with form/report revisions. Since
splitting, I've had issues with re-linking the tables ... as it relates to
the completetely different "My Documents"
data paths on several different Win98 / Win XP computers.
|
by: Bill Stock |
last post by:
I'm inherited a database that has a few issues. One of the less severe
issues, but the one the users bitch about is the speed across the LAN. So I
thought that I could unbind the NUMEROUS subforms on the tab control. So I
unbound the 25+ subforms and added an OnChange event to the Tab Control.
Only about 2/3 of the subforms have reappeared. I've been over the names
again and got a few more working, but there are some that just won't come...
|
by: Zlatko Matiæ |
last post by:
Is there any common method for programatical relinking of linked tables?
|
by: Tomas Vera |
last post by:
Hello All,
I'ma having trouble getting GetCurrentProcess() to work properly.
What I'm trying to accomplish is list all running processes. But my
call get GetProcesses() hangs.
While testing things out I found that the tiny program listed below
hangs as well.
Am I missing something?
|
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: Alexander Widera |
last post by:
hello,
if i start a program (an exe-file) with Process.Start(...) I don't have the
required permissions that the programm needs (i could start the programm but
the program needs special rights). So I added the StartInfo.UserName and
Password to the Process. Now the program starts, but it hangs... nothing
happens. In the task-manager the process is created, but it doesn't do
anything - no cpu-load and no change of memory-usage.
What...
|
by: Pierre Rouleau |
last post by:
Hi all,
I have a consistent test case where os.popen3() hangs in Windows. The
system hangs when retrieving the lines from the child process stdout.
I know there were several reports related to os.popen3() hanging under
Windows in this group before.
I stumbled on a case where a piece of code works in some occasions and
hangs consistently given different data. It performs exactly the same
on 3 different computers running Windows:
|
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: mark_aok |
last post by:
Hi all,
I have a situation where I have a split database. At the back end, I
need to
- create a new table (I will call it newTable) with the exact fields,
and relationships as another table (let's call it oldTable, and I need
to copy everything EXCEPT the data).
- Then I need to delete oldTable, and rename newTable 'oldTable'
|
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: 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: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
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.
| |