T
TK
I have a combo box on one form with has a row source of
2 fields, an item number and item name.
I item number width is 0 so it only displays the name, I
have another text box that displays the number from the
combo box.
On the other form I want to get the item name from the
combo box but I keep getting the number. How would I do
this? I Even tried SQL statements to select the item
from the item table where the item number from the
original form matched the item number in the table but
couldn't get that to work either.
SQL used: txtName = "SELECT tblItems.ItemName FROM
tblItems WHERE tblItems.ItemNumber = txtItemNumber"
2 fields, an item number and item name.
I item number width is 0 so it only displays the name, I
have another text box that displays the number from the
combo box.
On the other form I want to get the item name from the
combo box but I keep getting the number. How would I do
this? I Even tried SQL statements to select the item
from the item table where the item number from the
original form matched the item number in the table but
couldn't get that to work either.
SQL used: txtName = "SELECT tblItems.ItemName FROM
tblItems WHERE tblItems.ItemNumber = txtItemNumber"