Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Programmatically add data connections
Message
General information
Forum:
Visual FoxPro
Category:
Client/server
Miscellaneous
Thread ID:
00614972
Message ID:
00614974
Views:
18
You can use something like this with sqlstringconnect:

store SQLSTRINGCONNECT(;
'Driver={SQL Server};'+;
'SERVER=PCSBRD46;'+;
'QueryLog_On=Yes;'+;
'StatsLog_On=Yes;'+;
'Trusted_Connection=Yes');
TO gnConnHandle

>I know how to programatically setup views with defined data connections, but is there a way to create/install the ODBC connection itself? I looked at the odbc.ini file, but that appears to have just basic file information, not any specific info for a connection.
>
>As always, thanks in advance.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform