combo box not displaying the correct item!

SamirAu

New member
Local time
Today, 14:07
Joined
Apr 28, 2013
Messages
3
Hi every one, hope I can get some help on this
Using ms access 2010, I created a table called all items contains the ID, item name, item code, item price.
Second table I created called orders, contains item1,Q1=quantity,Tot1=calculated field.
Then a form to fill the orders table with a combo box for Q1 (gets the value from a table called numbers), second combo box for item1 (gets the value item code and item price from the table all items), and a text box to calculate the total of the Q1-item1(item price)
All working perfect except the combo box for item1 ends up displaying a different item code that’s only if the items were at the same price, for example, I choose latte from the combo box gives me correct item price but the code is cappuccino, only happening with items with the same price.
If I set the property of the combo box Bound Column to 1, I get correct item code but calculation error, Bound Column to 2, I get correct calculations but wrong item code.
Any help to get the combo box to display the correct item code?
First time I post in forums, hope the question Is clear enough :)
Thanks in advance
 
Look at the form record source, you're not filtering the correct column with the combo box or you're not binding the clumn you think that you are.
 

Users who are viewing this thread

Back
Top Bottom