Progress
Programming
Handbook
Auto-connect
The auto-connect feature uses information stored in one database to connect to a second database at run time. The database that contains the connect information is the primary application database; it must be connected before Progress can execute the auto-connect.
Progress executes the auto-connect when a precompiled procedure references data from the second database. It executes immediately prior to running the precompiled procedure. It does not work with procedures run from the Editor or otherwise compiled on-the-fly.
If you use a CONNECT statement while you are connected to the primary database, Progress merges the information in the CONNECT statement with the information in the primary database’s auto-connect list. If there is a conflict, the information in the CONNECT statement takes precedence. For more information, see the CONNECT Statement reference entry in the Progress Language Reference .
For information on how to set up an auto-connect list in the primary database, see the Progress Client Deployment Guide.
Copyright © 2004 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |