Try this in VBA:<br><br>Dim rstTable as Recordset<br><br>Set rstTable = Currentdb().OpenRecordset("tblYourTable"<br><br>With rstTable<br> .AddNew<br> !Field1 = MyField1<br> !Field2 = MyField2<br> .Update<br> .Close<br>End With<br><br>Me.Refresh<br><br><br>(More info provided would have given me more to work with, so if this doesn't make sense, give me more info!)<br>
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.