Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Suppressing message during SQLEXEC
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00020169
Message ID:
00022480
Views:
67
>We don't use Remote Views and Connections. We use SQLCONNECT to assign the ODBC driver e.g.
>
>lnResult=SQLCONNECT(lcODBCConnection,lcUserID,lcPassword)
>
>lcODBCConnection is the name of the SystemDSN setup in the ODBC control panel. Is there a way to do what you've shown under this environment?

You should be able to use SQLSETPROP() instead of DBSETPROP(). Use 0 (zero) as the connection handle and set the parameters before you do the SQLCONNECT(). This set's parameters for the VFP environment - which will then apply to all new connections.

By the way, you can use a Connection without using Views.
Rob Giorgi
Personal: EMail rjgiorgi@hotmail.com
Company: EMail robert.j.giorgi@lmco.com
Previous
Reply
Map
View

Click here to load this message in the networking platform