theinviter
Registered User.
- Local time
- Today, 02:28
- Joined
- Aug 14, 2014
- Messages
- 268
I need a help:
i have a form , i need after update clinic, it will Dcount all record from in field "total". so i tried belwo code but still getting error:
Me.total= Nz(DCount("*", "[MRN_number_Of_PO]", "[Location - Clinics Code] =" & Me.Combo2 & " and [Year22] = " & Me.Year1), 0)
Also Dcont per year and month in filed "JAn"
Me.total= Nz(DCount("*", "[MRN_number_Of_PO]", "[Location - Clinics Code] =" & Me.Combo2 & " and [Year22] = " & Me.Year1 and Month = Me.M1), 0)
so can you guide me, i attached picture of the query and form.
thanks
i have a form , i need after update clinic, it will Dcount all record from in field "total". so i tried belwo code but still getting error:
Me.total= Nz(DCount("*", "[MRN_number_Of_PO]", "[Location - Clinics Code] =" & Me.Combo2 & " and [Year22] = " & Me.Year1), 0)
Also Dcont per year and month in filed "JAn"
Me.total= Nz(DCount("*", "[MRN_number_Of_PO]", "[Location - Clinics Code] =" & Me.Combo2 & " and [Year22] = " & Me.Year1 and Month = Me.M1), 0)
so can you guide me, i attached picture of the query and form.
thanks