Hi,
I have two tables, [Rules] and [Process] which are in a many to many relationship via a junction table[JRule_Process]. It has the following field (relevant ones for this discussion):
[Rules]
RuleID
RuleName
[Process]
ProcessID
DetailProcessNa me
[JRule_Process]
JunctionID
RuleID
ProcessID
I have almost 5000 unique rules and around 100 Detail Process Names. Currently, only some of the rules are mapped with processes.
I have designed a query (with JOIN) which shows all rules and processes where it is mapped and where it is not. So, when I run the query, I can see all the [RuleName] and partially populated column for the [DetailProcessNa me].
I want to do a count of the "blank" record in the [DetailProcessNa me] column. How can I do it?
For the above scenerio, what I want is to count the number of process records where it is mapped to Rule and where it is not.
In the query design view, I only selected [DetailProcessNa me] and I put the critiria as "Process.Detail ProcessName = Null" and used the Count function but it is not working.
How do I design the query so that I can count all records where [ProcessName] is mapped to a [RuleName] and also where it is not ?
Please advise.
Thanks,
SG
I have two tables, [Rules] and [Process] which are in a many to many relationship via a junction table[JRule_Process]. It has the following field (relevant ones for this discussion):
[Rules]
RuleID
RuleName
[Process]
ProcessID
DetailProcessNa me
[JRule_Process]
JunctionID
RuleID
ProcessID
I have almost 5000 unique rules and around 100 Detail Process Names. Currently, only some of the rules are mapped with processes.
I have designed a query (with JOIN) which shows all rules and processes where it is mapped and where it is not. So, when I run the query, I can see all the [RuleName] and partially populated column for the [DetailProcessNa me].
I want to do a count of the "blank" record in the [DetailProcessNa me] column. How can I do it?
For the above scenerio, what I want is to count the number of process records where it is mapped to Rule and where it is not.
In the query design view, I only selected [DetailProcessNa me] and I put the critiria as "Process.Detail ProcessName = Null" and used the Count function but it is not working.
How do I design the query so that I can count all records where [ProcessName] is mapped to a [RuleName] and also where it is not ?
Please advise.
Thanks,
SG
Comment