• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 479
  • Last Modified:

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
rc.open "select * from table", consql, adoOpenstatic, adLockOptimistic
Set Me.grid1.ADORecordset = rc

Open in new window

0
Delta7428
Asked:
Delta7428
1 Solution
 
ClifCommented:
Try:

Me.grid1.Update
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now