Arend_
(MM club member)
2006-07-17 09:03 AM
DBConnOpen() - Open a connection to a database using ADODB

Not to get into discussion on the UDF part of the forum I'll continue here. The UDF says it will return 0 when succesfull and error code if not. This is not true. In it's current state the UDF returns the database command syntax if succesfull and nothing if it's not succesfull.

Sealeopard
(KiX Master)
2006-07-18 04:58 AM
Re: DBConnOpen() - Open a connection to a database using ADODB

Header is incorrect, updated with the following line:
Code:

;RETURN Connection object if successful, otherwise empty string



Arend_
(MM club member)
2006-07-18 08:43 AM
Re: DBConnOpen() - Open a connection to a database using ADODB

Ah ok, that works fine too