Hello.
I am having a problem with a query. Basically, I have two tables. One table, lets call it tblDate, supplies me with the [Date] and a [CaseID]. [CaseID] is the primary key for tblDate.
I have another table called tblMain. tblMain is comprised of [CaseID], [Characteristic], [City1], [City2], and [City3]. [CaseID] and [Characteristic] are a combined primary key. The values for [Characteristic] can be "Alpha", "Beta", or "Gamma".
[tblDate].[CaseID] = [tblMain].[CaseID].
Okay, so that is the setup of my tables.
I am trying to make a query that will show me how often a city is linked to a case. I do not care if it is [City1] [City2] or [City3]. Additionally,
"Alpha" also supercedes "Beta" and "Gamma." For example, if I have CASEID#33 that is characterised as BOTH "Alpha" and "Beta", I will have two records with [CaseID] = #33. When I run my query, I want to ignore EVERYTHING having to do with the record that contains "Beta".
I am having difficulty with this query however.