bdn.borland.com

Article #28694: Missing database login prompt.

Question

Why am I not getting a login prompt when I open a TDatabase connection?

Answer

A change between Delphi 5 and Delphi 6 requires that you now add the unit DBLogDlg to the uses clause if you want the default login dialog to appear. This dialog appears when TDatabase.LoginPrompt is set to true.

Last Modified: 17-MAY-02