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

How to save changes to True DBGrid

Status
Not open for further replies.

daughtery

Programmer
Dec 12, 2006
66
US
I have a DBGrid I make changes to the cell then refresh but the data doesn't update in the recordset. I'm new to DBGrids so please excuse my ignorance. I am also reading a book that just isn't all that good.
 
Ok, I found the answer. I have my DBGrid in Bound Mode and it's bound to a recordset. The DBGrid makes the changes to the recordset without me needing to write any code. The reason I wasn't seeing any changes was that I never wrote those changes to th database and I was querying the original value from the database each time I loaded the recordset which was bound to the DBGrid.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top