Private Sub Komut4_Click()
Dim db As Database
Dim rst, rs As Recordset
Set db = CurrentDb
Set rst = db.OpenRecordset("Tablo1")
Set rs = db.OpenRecordset("yeni")
Do Until rst.EOF
If rst("yaş").Value >= CInt(Metin0) And rst("yaş").Value <= CInt(Metin2) Then
rs.AddNew
rs("ad").Value = rst("ad").Value
rs("yaş").Value = rst("yaş").Value
rs.Update
End If
rst.MoveNext
Loop
End Sub
Yorumlar
Yorum Gönder