Subject | IB_Combobox as Parameter editing control |
---|---|
Author | Ulrich |
Post date | 2003-05-03T15:54:27Z |
Hello,
I filled
IB_Combobox.items with customer names
and
IB_Combobox.itemValues with their customer numbers.
IB_ComboBox.style:=csDropDownList;
IB_ComboBox.dataSource:=IB_DataSourceTableXY;
IB_ComboBox.ParamName:=CustomerNumber;
IB_DataSourceTableXY.dataSet:=IB_Query;
IB_Query.SQL : select * from tableXY where CustomerNumber=:CustomerNumber;
IB_Query.open;
With this configuration I can't set the Param 'CustomerNumber' and I receive
an empty Query.
What's wrong?
Best regards - Ulrich
I filled
IB_Combobox.items with customer names
and
IB_Combobox.itemValues with their customer numbers.
IB_ComboBox.style:=csDropDownList;
IB_ComboBox.dataSource:=IB_DataSourceTableXY;
IB_ComboBox.ParamName:=CustomerNumber;
IB_DataSourceTableXY.dataSet:=IB_Query;
IB_Query.SQL : select * from tableXY where CustomerNumber=:CustomerNumber;
IB_Query.open;
With this configuration I can't set the Param 'CustomerNumber' and I receive
an empty Query.
What's wrong?
Best regards - Ulrich