Connections

<< Click to Display Table of Contents >>

Navigation:  The Vo2Ado RDD > Basics >

Connections

Previous pageReturn to chapter overviewNext page

When is a connection opened ?

The Vo2Ado RDD tries to reduce the number of connections made to a server.

It does that by reusing already open connections. If you are opening files like this, the second workarea will look for a open connection names pubs, and if it finds one, will use the already open connection

 

USE pubs::authors

USE pubs::employee

 

This is also true if you do not specify a connection name, because the RDD will then use the DEFAULT connection name.

 

When is a connection closed ?

A connection gets closed if the last workarea that uses the connection is closed.

That means that it may be useful for performance reasons to keep at least one workarea open.

(Most DBF applications do this anyway, for example to keep a users or system table open).