Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Combo boxes not updating data tables

Status
Not open for further replies.

mguwc

Technical User
Mar 16, 2004
74
US
Hi All - I have created a data form that is from a dataset called dsActivities. The Table is tblActivities.

I have added a combo box in the form whose record source is dsCallType. I have generated a sqldataadapter that fills the dataset. That works fine.

The problem I am having is that the combo box is not updating my dataset dsActivities which updates my tblActivities. I have put in my properties "databinding - text" objdsActivitiesDetail - tblActivity.CallType

Please someone help. - maria
 
did you set the displaymember and valuemember?
and I think you need to bind to selectedvalue

Code:
combobox1.databindings.add("selectedvalue",dsactivities.tables("tblactivities"),"calltype")

Christiaan Baes
Belgium

If you want to get an answer read this FAQ faq796-2540
There's no such thing as a winnable war - Sting
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top