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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Cannot save changes made to datacombo bound control

Status
Not open for further replies.

balajee

Programmer
Jun 29, 2000
134
NZ
Hi

I am writng a simple database application in VB6 using ADODC control and MS Access database. I have few text controls,few datacombo controls bound to ADODC and command buttons(Add,delete,change,cancel,save,exit) on the form.I am using editmode property of the recordset to find out if there were any changes made to the fields. My problem is when I try to change a value in the datacombo for an existing record, it doesnot get saved. The value of editmode property of the recordset in this case shows zero. However if try changing a value in a textbox bound control as well as a datacombo then the changes are saved. The value of editmode property of the recordset in this case shows 1.

Can somebody tell me what am I doing wrong?

Thanks,

balajee [sig][/sig]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top