User Tools

Site Tools


prop_logonscreen_sqlanywhere_accelerator_.htm
Navigation:  SQL Drivers > SQLAnywhere Accelerator >====== PROP:LogonScreen (SQLAnywhere Accelerator ) ====== Previous pageReturn to chapter overviewNext page

PROP:LogonScreen sets or returns the toggle that determines whether the driver automatically

prompts for logon information. By default (PROP:LogonScreen=True), the driver does display a

logon window if no connect string is supplied. If set to False and there is no connect string, the

OPEN(file) fails and FILEERRORCODE() returns '28000.' For example:

AFile FILE,DRIVER('SQLAnywhere')

!file declaration with no userid and password

     END

CODE

AFile{PROP:LogonScreen}=True   !enable auto login screen

OPEN(Afile)

The logon screen is the SQLAnywhere Connect dialog. Consult your SQLAnywhere documentation for more information on this dialog. The end-user's ability to use the connect dialog will depend on the security surrounding the SQLAnywhere database. For example, the end-users may have access rights to a named database (sademo) that they can access with the SQLAnywhere client software, but they may not have access rights to the *.db files that comprise the database. The SQLAnywhere connect dialog requires *.db files rather than database name.

prop_logonscreen_sqlanywhere_accelerator_.htm.txt · Last modified: 2021/04/15 15:57 by 127.0.0.1