473,486 Members | 1,907 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Slow data access on Network(LAN)

Hello

I have just started using an application on a network(LAN) with multiple
users

I have the front end installed on different computers and the back end
(data) installed on the host computer of the network so that each computer
running the application links to the data located on the host.

When one user is logged on everything seems to work good ; access to the
data is normal.

When a second user logs on, the speed of access to the data, especially for
the second user, is greatly reduced.

It takes a long time to requery any forms for the second user.

For both the front end and the back end the following options are set:

Under Tools / Options /Advanced

DDE operations is Enabled ( check mark on "Enable DDE
refresh")

Default open mode is set to "Shared"

Default record locking is set to "No Locks"

Open databases using record-level locking is checked

I do not have the word "excl" written in the application's icon command line

The front ends are all MDE and are opened as Runtime

Any idea where I should look next?

I am using MSAccess 2000
Thanks

G.Gerard
Mar 4 '06 #1
2 2659
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

There may be various reasons. One that is common is each user is
pulling a large recordset when they open a form. This will slow down
the processing. To correct this set up a search form, or routine on the
main form, that will allow the user to select one, or only a few,
records at a time.

An example: In the form's Header place a TextBox and a CommandButton.
Name the TextBox "txtSearch," label it "Search for Employee ID," and the
CommandButton "cmdSearch," label it "Find." Then create the following
routine:

Private Sub cmdSearch_Click()

' Set up the SQL to use whatever tables/columns you
' are using to fill your form.
Const SQL = "SELECT account_id, employee_id, sales " & _
"FROM AccountsReceivable " & _
"WHERE employee_id = "

If Not IsNull(Me!txtSearch) Then
' This will pull all the records for requested employee_id
Me.RecordSource = SQL & Me!txtSearch
End If

End Sub
--
MGFoster:::mgf00 <at> earthlink <decimal-point> net
Oakland, CA (USA)

-----BEGIN PGP SIGNATURE-----
Version: PGP for Personal Privacy 5.0
Charset: noconv

iQA/AwUBRAolpYechKqOuFEgEQJKJwCgw/7SLUozGjELnT7rfuaF9iMVbkIAnR4i
revW7eJyS0OTlhqgjO+c/KeE
=K/Sp
-----END PGP SIGNATURE-----
GGerard wrote:
I have just started using an application on a network(LAN) with multiple
users

I have the front end installed on different computers and the back end
(data) installed on the host computer of the network so that each computer
running the application links to the data located on the host.

When one user is logged on everything seems to work good ; access to the
data is normal.

When a second user logs on, the speed of access to the data, especially for
the second user, is greatly reduced.

It takes a long time to requery any forms for the second user.

For both the front end and the back end the following options are set: Under Tools / Options /Advanced
DDE operations is Enabled ( check mark on "Enable DDE
refresh")
Default open mode is set to "Shared"
Default record locking is set to "No Locks"
Open databases using record-level locking is checked

I do not have the word "excl" written in the application's icon command line

The front ends are all MDE and are opened as Runtime

Any idea where I should look next?
I am using MSAccess 2000

Mar 4 '06 #2
since one user performs ok, then obviously the application CAN perform ok.

when you experience the above, the delay has to do with ms-access switching
into multi-user mode. MS-access also tries to delete the locking file.

There is a HUGE dance that occurs when the file is being opened..and this
dance continues when you try and open a form.

The simple solution here is to force the connection to remain open at all
times. Thus, in your start up code, simply open up a reocrdset, or simply
minimize a form that is attached to any table in the back end. Try
this...you see the response become the same for 1 user...or 5 users...

This trick..and number of things to check can be found here

http://www.granite.ab.ca/access/performancefaq.htm
--
Albert D. Kallal (Access MVP)
Edmonton, Alberta Canada
pl*****************@msn.com
http://www.members.shaw.ca/AlbertKallal
Mar 5 '06 #3

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

Similar topics

1
2036
by: sleepyant | last post by:
Hi, I am making a simple backup program where the files selected can be transfered from a source to a destination. The source/destination could be inside user's own PC or a different PC within a...
13
1567
by: (Pete Cresswell) | last post by:
Back when I was writing Mac/Pascal stuff, there was a little utility called "Molasses" that could be set to slow down the whole system by variying amounts. The idea was that if you're developing...
3
2331
by: Jon | last post by:
Hi, in my program, i want to send a signal to other computer on the network (LAN). so that when other recieves this signal, it will do something... What Class should I use for sending the...
45
2642
by: Luvin lunch | last post by:
Hi, I'm new to Access and have been asked to develop a simple Access system to replace one that already exists. There are five users of the current Access system and each of the users works off...
0
2236
by: AnjuP | last post by:
Hello i have develped a software using vb6.0 as front end and sql server as back end. the program runs suceesfully on server where sql server is installed. but when i run the exe of program on...
3
1976
by: Bob Alston | last post by:
I have recently been trying to determine the best technique to pull the least amount of info across the LAN link in a slow speed LAN situation (e.g. < 10 Mbps), where data volume = performance. ...
2
1589
by: jhayzapi | last post by:
Guys, im just a newbie here, i have a school project and its a web-based project that scans all Internet Protocol (IP) in a Local Area Network (LAN) and displays a green light image if the...
3
2625
by: anganb | last post by:
Local Area Network (LAN) Both an EtherNet (wire) network and a wireless network are referred to as a Local Area Network (LAN). A wireless network does not require hubs, switchers, or routers to...
7
2029
by: Mohammed Seidu | last post by:
I am currently in charge of a very slow LAN comprising of 40 machines. I welcome any means of improving the speed on this network. My most pressing problem is with the printers on the network. They...
0
7094
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,...
0
6964
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...
0
7123
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,...
0
7173
jinu1996
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...
0
5427
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
4863
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...
0
3066
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...
0
1378
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 ...
1
598
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.