Issue with databinding combo box

  • Thread starter Thread starter Anthony
  • Start date Start date
A

Anthony

Hi I have a combo box that is bound to a particular
database field to fill in the selection items. When it
loads up i want it to automatically default to a
particular item in the dataset, so i use the following
code on the form load:

cboRef.SelectedValue = intValue

This works fine.. and i get the value i want.
The problem is, when i go to save the dataset. This value
dissappears, and doesn't get saved to the database.
Would anyone know why?

Thanks!
 
Hi Anthony,

Is this the only value that not is saved?

But send some code thousands of reasons I think are possible.
(Not the whole program) part by part starting with the filling, binding, and
updating.

Cor
 
Back
Top