Skip to main content

AccessTr.neT


Hesaplama

Hesaplama

#17
dilerim işinize yarar
Kod:
KALAN = ODENEN - TOPLAM

If Forms![F_TAHSILAT]![KALAN] = 0 Then
    If MsgBox("Borcun Tamamını Ödediniz. Ödeme Kayıtlara Aktarıldı..", vbInformation, "Site Gelir / Gider Takip Programı") Then
        Forms![F_TAHSILAT]![ODENDI] = True
        DoCmd.Close acForm, "F_TAHSILAT"
        Forms!F_ALACAK.Refresh
        Forms!F_ALACAK.Metin86 = Nz(DSum("TUTAR", "S_ALACAK"), 0)
        Forms!F_ALACAK.sayac.Caption = DCount("TUTAR", "S_ALACAK")
    End If
ElseIf Forms![F_TAHSILAT]![KALAN] < 0 Then
    If MsgBox(Forms![F_TAHSILAT]![KALAN] & " TL Fazla Ödeme Yaptiniz. Yine de Devam etmek istiyor musunuz?", vbYesNo, "Prg") = 6 Then
        Forms![F_TAHSILAT]![ODENDI] = True
        DoCmd.Close acForm, "F_TAHSILAT"
        Forms!F_ALACAK.Refresh
        Forms!F_ALACAK.Metin86 = Nz(DSum("TUTAR", "S_ALACAK"), 0)
        Forms!F_ALACAK.sayac.Caption = DCount("TUTAR", "S_ALACAK")
    End If
Else
    If MsgBox(Forms![F_TAHSILAT]![KALAN] & " TL Eksik Ödeme Yaptiniz. Yine de Devam etmek istiyor musunuz?", vbYesNo, "Prg") = 6 Then
        Forms![F_TAHSILAT]![ODENDI] = True
        DoCmd.SetWarnings 0 '/////////////////////
        DoCmd.OpenQuery "S_KALANBAKIYE" '///////////////////////
        DoCmd.SetWarnings -1 '//////////////////
    
        Forms![F_TAHSILAT]![ODENDI] = True
        MsgBox "Kalan Bakiye Aktarıldı.", vbOKOnly, "Site Gelir / Gider Takip Programı" '////////////
        DoCmd.Close acForm, "F_TAHSILAT"
        Forms!F_ALACAK.Refresh
        Forms!F_ALACAK.Metin86 = Nz(DSum("TUTAR", "S_ALACAK"), 0)
        Forms!F_ALACAK.sayac.Caption = DCount("TUTAR", "S_ALACAK")
    End If
End If

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
Hesaplama - Yazar: pccolog1 - 25/08/2019, 13:43
Cvp: Hesaplama - Yazar: berduş - 25/08/2019, 14:12
RE: Hesaplama - Yazar: pccolog1 - 25/08/2019, 14:37
Cvp: Hesaplama - Yazar: berduş - 25/08/2019, 14:56
RE: Hesaplama - Yazar: pccolog1 - 25/08/2019, 15:01
Cvp: Hesaplama - Yazar: berduş - 25/08/2019, 15:33
Cvp: Hesaplama - Yazar: pccolog1 - 25/08/2019, 16:19
RE: Hesaplama - Yazar: berduş - 25/08/2019, 16:41
Cvp: Hesaplama - Yazar: pccolog1 - 26/08/2019, 06:36
Cvp: Hesaplama - Yazar: berduş - 26/08/2019, 08:51
Cvp: Hesaplama - Yazar: pccolog1 - 27/08/2019, 00:32
Cvp: Hesaplama - Yazar: berduş - 27/08/2019, 13:53
Cvp: Hesaplama - Yazar: pccolog1 - 28/08/2019, 07:04
Cvp: Hesaplama - Yazar: berduş - 28/08/2019, 08:23
Cvp: Hesaplama - Yazar: pccolog1 - 29/08/2019, 06:51
Cvp: Hesaplama - Yazar: pccolog1 - 10/09/2019, 00:27
Re: Hesaplama - Yazar: berduş - 10/09/2019, 01:15
Cvp: Hesaplama - Yazar: pccolog1 - 10/09/2019, 01:23
RE: Hesaplama - Yazar: berduş - 10/09/2019, 01:25
Cvp: Hesaplama - Yazar: pccolog1 - 10/09/2019, 01:36
RE: Hesaplama - Yazar: berduş - 10/09/2019, 01:54
Cvp: Hesaplama - Yazar: pccolog1 - 10/09/2019, 02:04
Task