[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gambas-bugtracker] Bug #3209: When using db2, and basing the connection for the Datasource on the connection1 it fails when password is required


http://gambaswiki.org/bugtracker/edit?object=BUG.3209&from=L21haW4-

Comment #7 by Benoît MINISINI:

Can you try the last https://gitlab.com/gambas/gambas/-/commit/d61989449d7274f5b2b2b1296625a506a3947d6e ?

I added an 'Open' event to the 'DataSource' control that is raised just before opening the database connection.

The event handler receives the connection object, so that you can define its 'Password' property (or any other one) before trying to open it.

Benoît MINISINI changed the state of the bug to: NeedsInfo.



----[ Gambas bugtracker-list is hosted by https://www.hostsharing.net ]----