Q+E: Additional Parameters for LOGON() CommandLast reviewed: November 4, 1994Article ID: Q88939 |
The information in this article applies to:
Summary: There are undocumented parameters in the Logon command in Q+E 3.0a. The server, USER_ID and password can be passed along with the DDE command. Although Oracle and EEDataMGR are listed, the commands listed below only work with SQL Server. The syntax for the command is: Logon(dbname_Text,Connection_Text,Match_Previous,Show_Dialog) dbname_Text = ServerType (such as, SQLServer, Oracle, EEDataMGR) Connection_Text = special keywords used to indicate connection parameters necessary to logon. Match_Previous = TRUE indicates that if the user has previously logged onto the same server, then use that connection. False means starts a new connection every time. Show_Dialog = TRUE indicates that the Logon dialog box should be displayed. More Information: Keywords for the connection string include:
SRVR=name_of_the_server UID=user_name PWD=password DB=database_nameSome examples of connection strings:
For SQLServer: "SRVR=testsvr;UID=guest;PWD=guest" For Extended Edition: "DB=EESvr;UID=guest;PWD=guest" Example=EXECUTE(chan,"[logon('SQLServer','SRVR=MYSVR;UID=guest;PWD=guest', TRUE,FALSE)]")This command will try to log on to the SQLServer called "MYSRV" with the User Name "guest" and the Password "guest" without displaying the dialog box. If the user is already logged onto the server with the same User Name and Password then that connection will be used instead of initiating a new connection. Reference(s): READ.ME, Q+E for Windows, Pioneer Software Version 2.6.1. Section titled: ENHANCED LOGON COMMAND
|
KBCategory: kbother
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |