PC Review


Reply
Thread Tools Rate Thread

ADO connection confusion

 
 
ABM
Guest
Posts: n/a
 
      18th Jul 2009
I have read in many places it is a good idea to establish a persistent
connection when using a frontend file connected to a backend data file in a
multi-user environment. But I am confused about how this speeds things up.

Say I create a persistent connection on a menu form and then display another
form and open a connection to a table to populate that form. How are the
persistent connection form and the connection opened to populate the second
form related? Does the second connection use the persistent connection in
same way?


 
Reply With Quote
 
 
 
 
Tony Toews [MVP]
Guest
Posts: n/a
 
      19th Jul 2009
ABM <(E-Mail Removed)> wrote:

>I have read in many places it is a good idea to establish a persistent
>connection when using a frontend file connected to a backend data file in a
>multi-user environment. But I am confused about how this speeds things up.


The problem is opening and closing of the ldb file on the server.
This takes, relatively speaking, a huge amount of time.

>Say I create a persistent connection on a menu form and then display another
>form and open a connection to a table to populate that form. How are the
>persistent connection form and the connection opened to populate the second
>form related? Does the second connection use the persistent connection in
>same way?


Yes, the second, third and so on all do use the same connection to the
LDB file. How it works it terms of connections to the back end
MDB/ACCDB file I don't know. That's never been a problem I've had to
concern myself with.

Tony
--
Tony Toews, Microsoft Access MVP
Tony's Main MS Access pages - http://www.granite.ab.ca/accsmstr.htm
Tony's Microsoft Access Blog - http://msmvps.com/blogs/access/
Granite Fleet Manager http://www.granitefleet.com/
 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
OOP - Confusion PenguinPig Microsoft ADO .NET 1 11th Sep 2006 01:57 PM
Closing a connection confusion tshad Microsoft ADO .NET 5 7th Dec 2005 04:50 PM
USB 2.0 & 1.0 Confusion? Radith Computer Hardware 7 6th Aug 2005 06:36 AM
Re: Can someone end my confusion ? fredg Microsoft Access Reports 0 5th Aug 2004 11:46 PM
how to stop a dialup connection disconnecting every time to logout or switch user on windows xp when the connection is a shared connection =?Utf-8?B?Q3J1bQ==?= Windows XP New Users 1 12th Jan 2004 02:18 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 03:40 AM.