Call Rs12close
Rs12.CursorLocation = adUseClient
Rs12.Open "select * from xlcjxlp", Cn, adOpenStatic, adLockOptimistic
If Rs12.RecordCount > 0 Then
   Rs12.Delete
   Rs12.MoveNext
   Text2.Text = ""
   Text4.Text = ""
   Text5.Text = ""
   Set DataGrid2.DataSource = Rs12
End If