Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SQLDriverConnect
Message
De
26/08/1999 21:25:49
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00258189
Message ID:
00258244
Vues:
12
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
Fil
Voir

Click here to load this message in the networking platform