General information
Category:
Coding, syntax & commands
Thanks Paul! I ran across that command in the help but thought it was an after connection command since the first parameter expected was the connection handle. I should have read on further.
>>I have noticed that VFP calls SQLDriverConnect (along with a few other commands) when the native SQLConnect command is used to connect to an ODBC data source. The last parameter of the SQLDriverConnect command determines whether or not a dialog box is displayed. I need to change the parameter passed from SQL_DRIVER_PROMPT(2) to SQL_DRIVER_NOPROMPT(0) so that there are no dialog boxes displayed when connecting to a DSN. Does anyone know how to change this parameter?
>
>*****
>* Set the Global ODBC Settings
>*****
>=sqlSetProp(0,"DispLogin",3)
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only