Information générale
Catégorie:
Codage, syntaxe et commandes
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)
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement