Consultor Eletrônico



Kbase 18753: Apptivity - Retries on Login Failure When Connecting to DB
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   4/14/1999
Applies to Apptivity Developer and Runtime 2.1 and above.

SUMMARY:

Many databases require a username and password in order to establish a
connection. To allow for two automatic retries in case of error when
logging in to a database via your application, leave unchecked the
"Save Password" property for the Data Connection to that database.

EXPLANATION:

Data Connection properties can be accessed in the IDE by
right clicking on the Data Connection in the Project window, and selecting "Properties" from the popup menu.

If the "Save Password" property is unchecked, a ? will be put into the
USERID key in the .qry file for that connection. This will cause the
login window to be automatically displayed up to three times in case
of login error. This process is handled internally by abServer.

If abServer does not receive a ? in the USERID key, it assumes that
the password will be correct. There is no way to trap the resulting
error.


References To Written Documentation:

Apptivity 2.1 Developer's Guide, Chapter 6, "Accessing Databases"
Apptivity 3.0 Developer's Guide, Chapter 11, "Accessing Databases"