Gridex - How to save the user's edit to database

I am using a gridex in vb6 and binding it to a ado recordset within vb.

If the user edits a record without moving to a new record or hitting the enter key before moving off the grid, the change is not saved.  Is there a way to programmatically save the change?

Dim rc as adodb.recordset
set rc = new adodb.recordset "select * from table", consql, adoOpenstatic, adLockOptimistic
Set Me.grid1.ADORecordset = rc

Open in new window

Who is Participating?
ClifConnect With a Mentor Commented:

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.