Question:
My VBA Solution:
Since Frm isn't bound, [DoCmd.GoToRecord , "Parameter", acNewRec] won't work.
My Question is whether this code Works:
Frm "Match Summary" isn't bound to any Records (Table, Query).
TxTBox "Parameters" is unbound as well. I need to give the End-User an ability to add information to Table "Parameters"
TxTBox "Parameters" is unbound as well. I need to give the End-User an ability to add information to Table "Parameters"
My VBA Solution:
Since Frm isn't bound, [DoCmd.GoToRecord , "Parameter", acNewRec] won't work.
My Question is whether this code Works:
Code:
Private Sub CmdBtn2_Click()
Dim db As Database
Dim rst As DAO.Recordset
Dim strsql As String
Set db = CurrentDb()
Set rst = db.OpenRecordset("parameter", dbOpenDynaset)
With rst
.AddNew
!Text = Me.TxtParamtrs.Value
.Update
End With
End Sub