|
First pay tribute to Comradelondorerss:-)
Use the adodc control to make a database connection, not a read-only recordset
vsflexgrid.datamode = 2
'Add button
Private Sub addNew_click ()
Adodc1.Recordset.addNew
End Sub
'Save button
Private Sub saveNew_click ()
Adodc1.Recordset.UpdateBatch
End Sub |
|