G
Guest
I need help with a query. One field is "Code", the other field is "Account".
What I want to do is enter the criteria [Enter Code: ], then write an IIF
statement ; if the [Enter code:] is in the database then count them, but if
the Code has a duplicate "Account" then count it as one entry. Also, want
another query to be able to [Enter Code: ], then [Enter incidents: ], so the
query will count the code that has more than one incident and so on. Hope
someone can help with this one. I've written several IIF statements, but
this one is stumping me.
What I want to do is enter the criteria [Enter Code: ], then write an IIF
statement ; if the [Enter code:] is in the database then count them, but if
the Code has a duplicate "Account" then count it as one entry. Also, want
another query to be able to [Enter Code: ], then [Enter incidents: ], so the
query will count the code that has more than one incident and so on. Hope
someone can help with this one. I've written several IIF statements, but
this one is stumping me.