11-05-2017, 02:18
CurrentDb.Execute "insert into Tablo2 (ad,soyad,tc,KULLANICI)" _
& " select '" & Me.ad & "' , '" & Me.soyad & "','" & Me.tc & "','" & environ("username") & "'"
Kayit girme esnasinda kullaniciID yeni olusturulacak sutuna yazdirabilir ve silme komutunda kullaniciID kosul olarak belirtebilirsiniz.
Misal:
...
...
*****silme kodu****
currentdb.execute "delete * from Tablo2 Where ((KULLANICI)='" & environ("username") & "')"
End Sub
& " select '" & Me.ad & "' , '" & Me.soyad & "','" & Me.tc & "','" & environ("username") & "'"
Kayit girme esnasinda kullaniciID yeni olusturulacak sutuna yazdirabilir ve silme komutunda kullaniciID kosul olarak belirtebilirsiniz.
Misal:
...
...
*****silme kodu****
currentdb.execute "delete * from Tablo2 Where ((KULLANICI)='" & environ("username") & "')"
End Sub

