On a form,
* drop a TOraSession, set connction credentials
* drop a TOraQuery, set a simple select on an existing table, active=true;
* drop a tdatasource, set source to query
* drop a TDBLookupComboBox, change ListSource, keyfield and listfield
* copy/paste TDataSource
* copy/paste TDBLookupComboBox, set listsource to TDataSource2
* on startup, open connection and TOraQuery
launch application
select an item in first combo box
then select an item in second combo box-> First combo is cleared.
This bug also occurs using TQuery.
Does anyone have a workaround?
Thanks
BCB 2009 TDataSource bug
bcb6 ok?
1. I used this workaroud, problem is that database is queried several times (=> performance problem)
2. The problem is due to bcb 2009. As soon as there is one datasource per combobox, it should work (that's why TDataSource exists).
Evidence: bcb 2006, 1 TOraQuery, 2 TDataSources, 2 TDBLookupCombox: it works perfectly.
(and I saw the problem when converting application).
2. The problem is due to bcb 2009. As soon as there is one datasource per combobox, it should work (that's why TDataSource exists).
Evidence: bcb 2006, 1 TOraQuery, 2 TDataSources, 2 TDBLookupCombox: it works perfectly.
(and I saw the problem when converting application).