- If Me.ak_ogrencitipi <> "Tümü" And Me.ak_ogrencitipi <> "" Then
- If Dlookup ("ogrenci_id", "ogrencitakip", "kayit_turu ='" & Me.ak_ogrencitipi & "'") Then '<= bu kontrolü anlamadım! amaç ne?
- ElseIf Me.ak_ogrencitipi = "İPTAL" Then
- If Me.txt_ksay <> 0 Then
- Else
- End If
- If Me.txt_ksay <> 0 Then
- ElseIf Me.ak_ogrencitipi = "Tümü" Then
- If Me.txt_ksay <> 0 Then
- End If
- If Me.txt_ksay <> 0 Then
- End If
- If Dlookup ("ogrenci_id", "ogrencitakip", "kayit_turu ='" & Me.ak_ogrencitipi & "'") Then '<= bu kontrolü anlamadım! amaç ne?
- End If
eğer öğrenci tipi "tümü" yada boş değilse if boluğundaki kodlar çalışmaya başlıyor
önce If Dlookup ("ogrenci_id", "ogrencitakip", "kayit_turu ='" & Me.ak_ogrencitipi & "'") ile ogrenci_id bulunuyor ama koşulla ilgili bir şey yok dolayısıyla sonuç herhangi bir sayı döndürdüğü müddetçe koşulun sağlandığı varsayılıf if'ten çıkılıyor