473,410 Members | 1,930 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,410 software developers and data experts.

urgent become too much slower during running

hi,every one
im facing a problem in running access it's about
25 tables
80 forms
46 query (5 append query ,1 update query ,2 delete query )
60 reports
4 modules
after 7 months of perfect working in access 2003 around 8users working
in it .i was working with these users in my sharing folder which i know
that may corrupt the whole application but from one week i transfer it
to our company server i notify that it become much slower specially
when more than one user access it,according to that i return it back
but i also face the same problem i m waiting for 2 min to open the form
not all of them number of them they work but delay during running query
..according to my knowledge it must become faster .it become faster for
the search option but when running queries no. i tried to split the
database to BE\FE and also the same problem is accure. i dont face it
if one user is working . almost it stuck but still work as before
except the delay in time.i always compact the application and the
capacity change from 511 MB or more to 159MB or little bit more.
im going to check some issues i have found in the net which it was
arround the extension of FE should be mde that may help also the
setdatasheet for the tables from auto to none and in the general in
options in tools make the tracknameautocorrect off.
but im failing that im going to face the same problem and the delay
please help me since when im working in my own pc with a copy of the
application without any sharing it work perfect.
so please could you just help me and suggest things that may help ????
my supervisor suggest to take a look and make some changes he thinks
that the problem may occur from the relation but i dont think so since
it work perfect for a long period.

Dec 5 '06 #1
7 1710
The best suggestion in this case is to try a persistent connection
(that means the front end opens up a backend table..and KEEPS it open...try
that).

the other list of thing to check/try is outlined here:

http://www.granite.ab.ca/access/performancefaq.htm

work your way through the above list one by one....
--
Albert D. Kallal (Access MVP)
Edmonton, Alberta Canada
pl*****************@msn.com
Dec 5 '06 #2

Albert D. Kallal wrote:
The best suggestion in this case is to try a persistent connection
(that means the front end opens up a backend table..and KEEPS it open...try
that).

the other list of thing to check/try is outlined here:

http://www.granite.ab.ca/access/performancefaq.htm

work your way through the above list one by one....
--
Albert D. Kallal (Access MVP)
Edmonton, Alberta Canada
pl*****************@msn.com
hi mr.Albert D. Kallal
i just want to thank you for your suggestion ,im going to try this move
and let you know what is going to happened however thanks

Dec 6 '06 #3
funfair wrote:
Albert D. Kallal wrote:
The best suggestion in this case is to try a persistent connection
(that means the front end opens up a backend table..and KEEPS it open...try
that).

the other list of thing to check/try is outlined here:

http://www.granite.ab.ca/access/performancefaq.htm

work your way through the above list one by one....
--
Albert D. Kallal (Access MVP)
Edmonton, Alberta Canada
pl*****************@msn.com

hi mr.Albert D. Kallal
i just want to thank you for your suggestion ,im going to try this move
and let you know what is going to happened however thanks
hi
could you please provide me with the details to create persistent
connection if im going to use a code explain how in details i just try
to split the database to FE and BE THEN WHAT SHOULD I DO??
thanks alot for cooperating with me

Dec 8 '06 #4
could you please provide me with the details to create persistent
connection
A persistent connection simply means that you open a table to the back end
in your start up code. As to how you do this, you have considerable number
of choices. Some people simply attached a table to their "main menu" form.
(you likely have some time of switchboard). If you bind some fields on that
form to a table in the back end, then you just made a persistent connection.
All this means is that you want to KEEP OPEN a connection to the back end
mdb file at all times. Doing so eliminate the LONG delays that often occur
when opening a form or whatever as then ms-access has to re-open and build
the connection to the back end. So, keeping something open at all times
eliminates this delay.

Some people launch a form in their start-up..and then make the form visible
= false.

in my case, I just use a global declared reocrdset.

Set gblRstGstRates = CurrentDb.OpenRecordset("tblGstRates")

There..just one line of code. Make sure that the reocrdset is a global
var..

if im going to use a code explain how in details i just try
to split the database to FE and BE THEN WHAT SHOULD I DO??
thanks alot for cooperating with me
I don't understand the above question, but if you going to work with
ms-access, it is impossible to update your software without overwriting the
clients data unless you split. I explain this in details here:

http://www.members.shaw.ca/AlbertKal...plit/index.htm

--
Albert D. Kallal (Access MVP)
Edmonton, Alberta Canada
pl*****************@msn.com
Dec 8 '06 #5

hi , Kallal
thank you for you response
itry the following after split the application to FE and BE and compile
the application and there wasnt any error i declare areordsedt in a
module
Public grstThisTable As Recordset
then in my main i put the following code in the open event
If grstThisTable Is Nothing Then
Set grstThisTable = CurrentDb.OpenRecordset("offer_serial",
dbOpenTable)
End If
but i didnt notify any change .i just want to clearify that the BE on
the network server and FE on each userit takes around 2 min to open a
form i notify that there is agreen line in the status bar to show you
the running of the query it work fast if there is just 1 user and
doesnt take 2sec but when more than one access the same page it takes
around 2min then open the page.
also i compact both BE and FE,make FE a mde application ,change the
subddatasheet to none instead of auto ,deselect the track auto correct
name.
if there is anything else i can do please help me!
could the problem be from lock record does effect the running ,i
checked the database the option it is no lock .
after all theses things i think that the problem is from the appending
query since i put it in the activate event i wont able to remove it.
is there any way to solve the delay in the appending query.
thanks alot.

Dec 12 '06 #6
If grstThisTable Is Nothing Then
Set grstThisTable = CurrentDb.OpenRecordset("offer_serial",
dbOpenTable)
End If
Ah, the above cant work on a linked table?????

try

Set grstThisTable = currentdb.OpenReocrdSet("offer_serial")

By using the option "dbOpenTale", I don't believe your code was running.
dbTable will NOT work on a linked table..

Something is wrong, very wrong if the above code was able to run. Since you
can't use the keyword "dbopenTable" on a linked table, then exactly where
did you test/try that code? (it COULD NOT have worked, and it COULD NOT have
created a persistent connection.

To test a persist connection, you don't even need to bother with code.
Simply open up the front end that is PLACED ON YOUR computer. Open ANY
LINKED TABLE to the back end...minimize this table. Now run your code. (that
minimized table will CREATE A PERSISTENT connection). If this works, the you
can go and modify your above INCORRECT code....

Your code as you have it COULD D NOT have worked.

Further, make your way though the following list:
http://www.granite.ab.ca/access/performancefaq.htm

work your way through the above list one by one....
--
Albert D. Kallal (Access MVP)
Edmonton, Alberta Canada
pl*****************@msn.com
Dec 14 '06 #7
hi
sorry for bothering you
you are 100% right it doesnot work i try the pervious code in my pc and
i have forgotten when i try it in work i face a problem after
searching i change my code to be

If grstThisTable Is Nothing Then
Set grstThisTable = CurrentDb.OpenRecordset("offer_serial",
dbOpenDynaset)
End If

and it works perfect ,is it right??

but when i try the option of dbopenTale it gave a run error 3001

however sorry for the wrong appear accedentaly in my code

and thanks for your notice
im going to check although i have notice that a datasheet appear behind
the main form i didnt get that is it a remark of workin persistent
connection but i dont notice this remark in my pc.

thanks a gain i really dont know how to thank you for your cooperating.

Dec 14 '06 #8

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

Similar topics

8
by: Hagen | last post by:
Hi, I have a question that you probably shouldn´t worry about since the compiler cares for it, but anyways: When you run your compiler with optimization turned on (eg. g++ with -Ox flag) and...
8
by: Mike | last post by:
Hello, I have a few rather urgent questions that I hope someone can help with (I need to figure this out prior to a meeting tomorrow.) First, a bit of background: The company I work for is...
14
by: Roy Gourgi | last post by:
Hi, How much is C# slower than C++? TIA Roy
16
by: Dean R. Henderson | last post by:
I have a project built for ASP.NET that recently started running really slow in debug mode (it takes about 10 seconds or more to step from one line of code to the next). This just started...
8
by: Tim::.. | last post by:
Can someone please tell me why I keep getting the following error for some of my web application users but not others??? Even though the application runs from a central webserver??? Thanks for...
16
by: | last post by:
Hi all, I have a website running on beta 2.0 on server 2003 web sp1 and I keep getting the following error:- Error In:...
4
by: VB Programmer | last post by:
When I run my ASP.NET 2.0 web app on my dev machine it works perfect. When I precomile it to my web deployment project and then copy the debug files to my web server I get this problem when trying...
12
by: jimocz | last post by:
Did I do something wrong? I cross posted this on the dotnet development group -- sorry if it is a double posting but we are seriously considering going to c# and this could be a show stopper. ...
6
by: xhe | last post by:
I am using ffmpeg to convert video, this is a sample script: $str='/home/transla1/bin/ffmpeg -i /home/transla1/public_html/ cybertube/web/uploads/video/31_AK000005.AVI -s 240x180 -b 100k -ar...
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
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
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
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
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
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...
0
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...
0
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
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...

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.