هذا لا يكرر السجل
DoCmd.SetWarnings False
DoCmd.RunSQL "INSERT INTO Team ( ID, Fullname, tel, Degree, class ) " & vbCrLf & _
"SELECT Students.ID, Students.Fullname, Students.tel, Students.Degree, Students.class " & vbCrLf & _
"FROM Students " & vbCrLf & _
"WHERE (((Students.ID)=[Forms]![Form]![Text0])) AND (((Students.ID) Not In (SELECT [Team].[ID] " & vbCrLf & _
"FROM [Team]; " & vbCrLf & _
")));"
DoCmd.SetWarnings True
Me.Text0 = ""
اما بالنسبه للصف سوف احاول فيه