I have a datagrid that loads everything from a table into the grid when the form loads. As the form is closed I have a command like this:

If myDataSet.HasChanges() Then

Commit all the changes made in the grid back to the table. My problem is that the datagrid only recognizes a change when the enter key is used after the alteration. If I tab from one field to the next the changes are disregarded. Is there anyway to code the tab key to act like a "press enter?"

I did a search and all I could find was examples of trying to do the opposite action (enter as tab).