Applies to: the MSSQL driver against an MSSQL Express backend, as reported. No Clarion or SQL Server version is named.
Problem
The program connects through the FM3 window. Connecting works, but sometimes after pressing Cancel another SQL login window appears. The poster asked where the second window comes from.
Solution
- Expect the second window to come from another table: the program tries to open another file, because the first Cancel was not treated as a program abort and the program carried on for a while.
- Add
/LOGONSCREEN=FALSEto the driver options of every table. A poster suggested it for the ODBC driver, and the Clarion help was pointed to for PROP:LogonScreen. - The original poster, using the MSSQL driver, checked all the tables for
LOGONSCREEN=FALSEand found some that were not set correctly. After fixing them he thanked the posters.
Caveats
- The thread does not say outright that the second window was gone afterwards; the poster only reported finding the tables without the setting.
- One poster was not sure the switch works; the poster who finally used it did so with the MSSQL driver, not ODBC.
- The setting is per table, so one missed table can bring the window back.
Today (2026)
Not re-tested. Likely unchanged: check every table's driver options for the logon-screen switch. The poster's own confirmation was brief, so treat this as a lead rather than a verified fix.
Sources: Frank K. (May 2017, the question), Sean H., Liam, Ramon H. (May 2017) in softvelocity.clarion.databasedrivers.