[Gambas-user] Error with stored Connections

Jorge Carrión shordi at ...626...
Tue Oct 7 11:26:12 CEST 2014


I have a Stored connection to a mysqldatabase. If I do doubleClick on it in
the IDE it's opened with all tables, views and all it's stuff.

Then I have a class named xControles who defines a control that contains
this:

...

Export

Inherits Panel

Public Const _Properties As String = "*,hconn{Connection},table"

 property hConn as conection.
....
....

If I put all conection properties (type, host, user, password, name) with
code all works fine, but if I select the Stored Connection in the IDE in
the control's properties window, I receive this error running the proyect:

gb.db: warning: unable to retrieve connection password:
xControles/Connection2: Unknown symbol 'Passwords' in class 'Desktop'

My project doesn't use the gb.desktop component and I don't have any class
"Desktop"

It's some sort of expected behavior or I'm doing something wrong?

Regards



More information about the User mailing list