Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SQLDriverConnect
Message
From
26/08/1999 21:25:49
 
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00258189
Message ID:
00258244
Views:
11
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
Map
View

Click here to load this message in the networking platform