If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register or Login
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

Update a record with ADODataset

Goodmorning
I am using a database in access 2007 and c++ builder 2007. I have a problem and i want some help. I have a dbgrid on my simple application and the user find a record and click on it. When he clicks all the data return to Edit text. Now i want the user to make some changes on edit text (on data) and update the record. I have wrote the above code

ADODataSet2->Post();
[CODE]
The problem is that when i push the update button it changes my first row of databse and not the one that user select. I need to add something on code so to move in record that the user choose and then edit and post