"connected" always returns -1 and about DBComboBox
Posted: 11.03.2008, 07:26
I have 2 questions:
1 - I'm trying this to connect:
ZConnection1.connected := True;
or
ZConnection1.connect;
In the 2 ways ZConnection.connected and always returns -1, but the sqls is working and returning values, is it normal?
------------------------------------------------------
2 - I would like to use a DBComboBox to list some values from a table. But isn't work, DBComboBox just display the first value. Can zeos work with DBComboBox or is my code wrong?
My configs:
Delphi7
Oracle 10g
Zeos 6.6.2-RC
Form has: TZConnection with protocol oracle9i --> TZTable --> TDataSource --> TDBComboBox.
1 - I'm trying this to connect:
ZConnection1.connected := True;
or
ZConnection1.connect;
In the 2 ways ZConnection.connected and always returns -1, but the sqls is working and returning values, is it normal?
------------------------------------------------------
2 - I would like to use a DBComboBox to list some values from a table. But isn't work, DBComboBox just display the first value. Can zeos work with DBComboBox or is my code wrong?
My configs:
Delphi7
Oracle 10g
Zeos 6.6.2-RC
Form has: TZConnection with protocol oracle9i --> TZTable --> TDataSource --> TDBComboBox.