Skip to main content

AccessTr.neT


Yüzde Hesaplatma

Yüzde Hesaplatma

#2
ilk olarak UR_AG_ANAURUN_DURUM_YUZDE metin kutusunun biçim özellğindek @ ifadesini silmeniz gerekiyo
anaurun güncelleştirme sonrası olayı
Private Sub ANAURUN_AfterUpdate()
If Len(Me.ANAURUN & "") = 0 Then Exit Sub
x = DCount("*", "SK_", "YM_DURUM='Tamamlandı' and ANAURUN='" & Me.ANAURUN & "'") / DCount("*", "SK_", "ANAURUN='" & Me.ANAURUN & "'")
Me.UR_AG_ANAURUN_DURUM_YUZDE = x * 100
End Sub
form geçerli olduğunda olayı
Private Sub Form_Current()
If Len(Me.ANAURUN & "") = 0 Then Exit Sub
x = DCount("*", "SK_", "YM_DURUM='Tamamlandı' and ANAURUN='" & Me.ANAURUN & "'") / DCount("*", "SK_", "ANAURUN='" & Me.ANAURUN & "'")
Me.UR_AG_ANAURUN_DURUM_YUZDE = x * 100
End Sub
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
Yüzde Hesaplatma - Yazar: siyahca - 15/11/2021, 16:48
RE: Yüzde Hesaplatma - Yazar: berduş - 15/11/2021, 18:45
RE: Yüzde Hesaplatma - Yazar: siyahca - 16/11/2021, 08:11
RE: Yüzde Hesaplatma - Yazar: berduş - 16/11/2021, 08:13
RE: Yüzde Hesaplatma - Yazar: siyahca - 16/11/2021, 08:17
RE: Yüzde Hesaplatma - Yazar: berduş - 16/11/2021, 09:56
RE: Yüzde Hesaplatma - Yazar: siyahca - 16/11/2021, 11:29
Task