[unixODBC-dev] SQLDriverConnect question

Igor Korot ikorot at earthlink.net
Thu May 29 00:46:31 BST 2008


Hi, ALL,
Does SQLDriverConnect() function support SQL_DRIVER_PROMPT,
SQL_DRIVER_COMPLETE and SQL_DRIVER_COMPLETE_REQUIRED as a
last parameter?

According to http://msdn.microsoft.com/en-us/library/ms715433.aspx

"
SQL_DRIVER_PROMPT: If the connection string does not contain either the DRIVER, DSN, or FILEDSN keyword, the Driver Manager displays the Data Sources dialog box. It constructs a connection string from the data source name returned by the dialog box and any other keywords passed to it by the application. If the data source name returned by the dialog box is empty, the Driver Manager specifies the keyword-value pair DSN=Default. (This dialog box will not display a data source with the name "Default".)

SQL_DRIVER_COMPLETE or SQL_DRIVER_COMPLETE_REQUIRED: If the connection string specified by the application includes the DSN keyword, the Driver Manager copies the connection string specified by the application. Otherwise, it takes the same actions as it does when DriverCompletion is SQL_DRIVER_PROMPT.
"

Thank you.




More information about the unixODBC-dev mailing list