[Gambas-devel] Change to gb.db.odbc to use ODBC Connection Strings.

zxMarce d4t4full at ...176...
Thu Aug 27 19:14:26 CEST 2015


Benoît,

No problem, I know you're not the author of the ODBC component. Precisely,
one of my modifications was adding an IF to call either *SQLConnect* (normal
method so far) or *SQLDriverConnect*; this is the new call, and does not use
.User, .Password nor .Name, as they can all be set in the connection string.
I added, then, an IF and a FUNCTION.

This is the IF, in main.c's open_database:

... And this is the function that new IF calls:

Thanks,
zxMarce.



--
View this message in context: http://gambas.8142.n7.nabble.com/Change-to-gb-db-odbc-to-use-ODBC-Connection-Strings-tp52283p52536.html
Sent from the gambas-devel mailing list archive at Nabble.com.




More information about the Devel mailing list