# MSSQL: after Cancel on the login window a second SQL login window appears

**URL:** <https://forums.softvelocity.com/t/mssql-after-cancel-on-the-login-window-a-second-sql-login-window-appears/872>\
**Category:** Knowledge Base\
**Tags:** unverified, database-drivers\
**Created:** [November 9, 2026, 1:29am UTC](https://forums.softvelocity.com/t/mssql-after-cancel-on-the-login-window-a-second-sql-login-window-appears/872 "2026-11-09T01:29:46Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![rzaunere](https://avatars.discourse-cdn.com/v4/letter/r/f14d63/32.png) [@rzaunere](https://forums.softvelocity.com/u/rzaunere)\
**Post date:** [November 9, 2026, 1:29am UTC](https://forums.softvelocity.com/t/mssql-after-cancel-on-the-login-window-a-second-sql-login-window-appears/872/1 "2026-11-09T01:29:46Z")

</div>

**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**

1. 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.
2. Add `/LOGONSCREEN=FALSE` to the driver options of every table. A poster suggested it for the ODBC driver, and the Clarion help was pointed to for PROP:LogonScreen.
3. The original poster, using the MSSQL driver, checked all the tables for `LOGONSCREEN=FALSE` and 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.
