Skip to main content

AccessTr.neT


Form Acılırken Filitre Uygulanmak

Form Acılırken Filitre Uygulanmak

Çözüldü #5
Sorun çözülmüşür.Herkese çok teşekkür ederim..

Cevap:

VBA Kodu

Private Sub Form_Load()
Dim strWhere As String

strWhere = "DikimTermin >= #" & tarih(DateAdd("d", -10, Date)) & "# And DikimTermin <= #" & tarih(Date) & "#"


DoCmd.ApplyFilter , strWhere

End Sub



Public Function tarih(date1 As Date) As String

tarih = DatePart("m", date1) & "/" & DatePart("d", date1) & "/" & DatePart("yyyy", date1)

End Function
Cevapla

Bir hesap oluşturun veya yorum yapmak için giriş yapın

Yorum yapmak için üye olmanız gerekiyor

ya da

Bu Konudaki Yorumlar
Form Acılırken Filitre Uygulanmak - Yazar: HAKKI34 - 06/09/2011, 13:59
Cvp: Form Acılırken Filitre Uygulanmak - Yazar: HAKKI34 - 06/09/2011, 18:04