473,385 Members | 1,343 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Relinking to back end hangs

Ray
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
Nov 12 '05 #1
4 2043
On Sun, 30 Nov 2003 09:37:22 +0000 (UTC) in comp.databases.ms-access,
"Ray" <ra*******@softhome.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.
Nov 12 '05 #2
Ray
Thanks, Trevor, that's an enormous help. I'll try it out first thing
tomorrow.

Ray

"Trevor Best" <bouncer@localhost> wrote in message
news:77********************************@4ax.com...
On Sun, 30 Nov 2003 09:37:22 +0000 (UTC) in comp.databases.ms-access,
"Ray" <ra*******@softhome.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.

Nov 12 '05 #3
TC

"Trevor Best" <bouncer@localhost> wrote in message
news:77********************************@4ax.com...

(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.opendatabase("path to BE")

That is all it really needs :-)

TC

Nov 12 '05 #4
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.opendatabase("path to BE")

That is all it really needs :-)


D'Oh!
;-)

--
A)bort, R)etry, I)nfluence with large hammer.
Nov 12 '05 #5

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

Similar topics

6
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...
5
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...
1
by: Zlatko Matić | last post by:
Is there any common method for programatical relinking of linked tables?
10
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...
23
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...
6
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)....
2
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...
13
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....
5
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...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

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.