Skip to main content

AccessTr.neT


Form Üzerinde Belli Kriterlere Göre Arama

Form Üzerinde Belli Kriterlere Göre Arama

#9
Dim txtKriter As String
txtKriter = ""
txtKriter = txtKriter & _
IIf(Nz(hkf_tckn) <> "", " and " & hkf_tckn, "") & _
IIf(Nz(hkf_isim) <> "", " and '" & hkf_isim & "'", "") & _
IIf(Nz(hkf_soyisim) <> "", "' and " & hkf_soyisim & "'", "")
txtKriter = IIf(Len(txtKriter) > 4, Mid(txtKriter, 5), txtKriter)

hkf_tckn = Dlookup ("tckn", "hasta_listesi", txtKriter)
hkf_isim = Dlookup ("isim", "hasta_listesi", txtKriter)
hkf_soyisim = Dlookup ("soyisim", "hasta_listesi", txtKriter)
yukardaki kodu dener misiniz?
sadece TC, ad ve soyada yani 3 kritere göre buluyor
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
Access Form Ara Bul Komutu - Yazar: edmondo - 02/01/2020, 14:55
Cvp: Access Form Ara Bul Komutu - Yazar: ozanakkaya - 02/01/2020, 14:57
Cvp: Access Form Ara Bul Komutu - Yazar: edmondo - 02/01/2020, 15:04
Cvp: Form Üzerinde Belli Kriterlere Göre Arama - Yazar: berduş - 03/01/2020, 14:28
Task