I wonder if there is a way to copy selected row on continuous form and paste it right below the copied record
I wrote a statement which copies and paste selected fields from the row and it works fine for me but then I have to sort the entire form to bring up the record below the one I copied
Thanks
Private Sub btnEHT_Copy_Record_Click()
Dim strSQL As String
strSQL = "INSERT INTO Tracking( EWP, Iso) " & _
"Select'" & Me!txtEWP & "', '" & Me!txtIso & "';"
DoCmd.RunSQL strSQL
DoCmd.RunCommand acCmdRefresh
End Sub
I wrote a statement which copies and paste selected fields from the row and it works fine for me but then I have to sort the entire form to bring up the record below the one I copied
Thanks
Private Sub btnEHT_Copy_Record_Click()
Dim strSQL As String
strSQL = "INSERT INTO Tracking( EWP, Iso) " & _
"Select'" & Me!txtEWP & "', '" & Me!txtIso & "';"
DoCmd.RunSQL strSQL
DoCmd.RunCommand acCmdRefresh
End Sub