Magnus1982
Registered User.
- Local time
- Yesterday, 22:41
- Joined
- Apr 29, 2017
- Messages
- 41
During my work with access I stock because of some problem. Looking help with this.
Let's say I have query (qryStat) which contain two columns:
Color Result
RED FAIL
RED PASS
BLUE FAIL
BLUE FAIL
BLUE PASS
GREEN FAIL
GREEN FAIL
PINK PASS
In the form (fmFinal) I have text box (txtBox1,tztBox2)
What I want to achieve:
1. txtBox1 - count unique value from Color column (in this case = 4)
2. txtBox2 - count colours which have Result PASS and don't have result FAIL (in this case = 1)
I try to do that with Dcount but I was able only to count all which have PASS or ALL which have FAIL
Can any one explain me how to do that?
Let's say I have query (qryStat) which contain two columns:
Color Result
RED FAIL
RED PASS
BLUE FAIL
BLUE FAIL
BLUE PASS
GREEN FAIL
GREEN FAIL
PINK PASS
In the form (fmFinal) I have text box (txtBox1,tztBox2)
What I want to achieve:
1. txtBox1 - count unique value from Color column (in this case = 4)
2. txtBox2 - count colours which have Result PASS and don't have result FAIL (in this case = 1)
I try to do that with Dcount but I was able only to count all which have PASS or ALL which have FAIL
Can any one explain me how to do that?