In Access 2000 I have a combo box on a form based on a table.
The combo box is bound to the field SelectedProductId (Number, Long Integer)
The query for the combobox is:
SELECT tblProduct.ProductId, tblProduct.ProductCode, tblProduct.ProductDescription FROM tblProduct
ORDER BY tblProduct.ProductCode;
Column count = 3
Bound Column = 1
The query returns the correct data.
If the user selects a record from the combo box, the ProductId is stored correctly in the field SelectedProductId.
However when the combo box is displaying the records (drop down state), and the user tries to type in the ProductCode, the records displayed in the combo box are not narrowed down until the correct ProductCode is displayed.
Also, if the user types in the correct ProductCode, Access returns an error that the ProductId does not exist!
ProductCode is a text feild
What am I doing wrong?
The combo box is bound to the field SelectedProductId (Number, Long Integer)
The query for the combobox is:
SELECT tblProduct.ProductId, tblProduct.ProductCode, tblProduct.ProductDescription FROM tblProduct
ORDER BY tblProduct.ProductCode;
Column count = 3
Bound Column = 1
The query returns the correct data.
If the user selects a record from the combo box, the ProductId is stored correctly in the field SelectedProductId.
However when the combo box is displaying the records (drop down state), and the user tries to type in the ProductCode, the records displayed in the combo box are not narrowed down until the correct ProductCode is displayed.
Also, if the user types in the correct ProductCode, Access returns an error that the ProductId does not exist!
ProductCode is a text feild
What am I doing wrong?