Option Compare Database
Private Sub Komut2_Click()
Dim db As Database
Dim rst As Recordset
Set db = CurrentDb
Set rst = db.OpenRecordset("Tablo1")
rst.Move 2
rst.Edit
a = rst.Fields(2).Value
Metin0.SetFocus
b = Val(Metin0.Text)
rst("fiyat").Value = a + b
rst.Update
End Sub
Yorumlar
Yorum Gönder