Missing database login prompt.

Abstract: Change from Delphi 5 to Delphi 6.

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.

Server Response from: ETNASC01