Navigation: SQL Drivers > SQLAnywhere Accelerator >====== PROP:LogonScreen (SQLAnywhere Accelerator ) ====== | |
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.