I created a form completely independent to my table. Now I would like to insert information to the table from a form that is not bound to the table.
Is there a way to force the field in the form to save onto the table?
If you open a recordset from the table, you can then set each field in the recordset equal to the corresponding field in the form and then do an update.
Something like:
Private Sub cmdSave_Click()
With frm
rs!field1 = .Field1
rs!field2 = .Field2
rs.Update
End With
You would then reconnect to the table and do an update batch.
The Jan 2002 issue of Inside Access has a marvelous article about using disconnected recordsets.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.