دائما تفوتني هذه النقطة ...
فيصبح الكود :
Private Sub List0_DblClick(Cancel As Integer)
If DCount("*", "Table1", "[id]=" & Me![List0].Column(1) & " And [namee]='" & Me![List0].Column(2) & "'") > 0 Then
DoCmd.OpenForm "Table1", , , "[id]=" & Me![List0].Column(1)
ElseIf DCount("*", "Table11", "[id]=" & Me![List0].Column(1) & " And [namee]='" & Me![List0].Column(2) & "'") > 0 Then
DoCmd.OpenForm "Table11", , , "[id]=" & Me![List0].Column(1)
ElseIf DCount("*", "Table12", "[id]=" & Me![List0].Column(1) & " And [namee]='" & Me![List0].Column(2) & "'") > 0 Then
DoCmd.OpenForm "Table12", , , "[id]=" & Me![List0].Column(1)
End If
End Sub