Hi.
I use the following code to count the number of records with a specific SKU number:
This works well, however now I need to narrow down my results. The same table "Calls" has another field "IssueTypeID" which has values from "1" to "9".
I need to find the number of values that have one specific SKU number and then a specific number.
For example, the code above may return "10" with SKU=AAAA, and now I need to know how many records exist that have the same SKU number, AAAA, and "1" in the "IssueTypeID" field. Then AAAAA and "2", then AAAA and "3" up until "9". They should all ad up to "10"
How to do this?
Thanks
mafhobb
I use the following code to count the number of records with a specific SKU number:
Code:
A = DCount("SKU", "Calls", "SKU= '" & SKUList!SKU & "'")
This works well, however now I need to narrow down my results. The same table "Calls" has another field "IssueTypeID" which has values from "1" to "9".
I need to find the number of values that have one specific SKU number and then a specific number.
For example, the code above may return "10" with SKU=AAAA, and now I need to know how many records exist that have the same SKU number, AAAA, and "1" in the "IssueTypeID" field. Then AAAAA and "2", then AAAA and "3" up until "9". They should all ad up to "10"
How to do this?
Thanks
mafhobb