G
Guest
I have a form which is used to enter information on a vehicle. The Form
includes a combo box which populates itself using a table called
Supplier_Details and has two columns (in the combo box) column(0) =
Supplier_Id (which is hidden) and Column(1) Supplier_Name. The user chooses
which supplier and then fills in the rest of the form and clicks a button to
save the record for that vehicle. The only trouble i have is that when i
look at the Vehicle_Detail table, the value entered into the Vehicle_Supplier
column is the value for the Supplier_Name and NOT the Supplier_Id -
How do i specify that the value to be saved from the combo box should be the
Supplier_Id and not the Supplier_Name?
Any Quick Solution would be greatly apprieciated!
Thanks in advance!
includes a combo box which populates itself using a table called
Supplier_Details and has two columns (in the combo box) column(0) =
Supplier_Id (which is hidden) and Column(1) Supplier_Name. The user chooses
which supplier and then fills in the rest of the form and clicks a button to
save the record for that vehicle. The only trouble i have is that when i
look at the Vehicle_Detail table, the value entered into the Vehicle_Supplier
column is the value for the Supplier_Name and NOT the Supplier_Id -
How do i specify that the value to be saved from the combo box should be the
Supplier_Id and not the Supplier_Name?
Any Quick Solution would be greatly apprieciated!
Thanks in advance!