Hello!
We are having trouble designing a relationship within a wildlife observation database. Here's the situation:
When observing a particular animal, we first record all the environmental parameters, then record two different types of observations, so...
Table1 has records of all the environmental variables surrounding the observation.
[Date]
[Animal_Number]
[Weather]
[Precipitation]
[Temperature]
Table 2 has records of the first type of observations. Each row is a single behavioral observation.
[Date]
[Animal_Number]
[Behavior]
[Time (seconds)]
Table 3 has records of a second type of observations. Again, each row is a single behavioral observation.
[Date]
[Animal_Number]
[Behavior]
[Class]
[Position]
Many records from both Table 2 and Table 3 (observations) will be associated with only one record from Table 1 (environment). In other words, one row of environmental data is recorded prior to a a session of observations of a particular animal.
The problem is, there is no single unique identifier field that is common between these three tables. [Date] and [Animal Number] as a compound could be "matched", but we're not sure how to create a relationship drawing from multiple fields.
How do we create one-to-many relationships such that each row in Tables 2 and 3 is associated with its matching environmental record from Table 1?
For what its worth, the end goal will ideally be two queries: One will present each observation (row) from Table 2 with its matching record from Table 1 in the same row. The other query will do the same for Table 3 and 1.
Hopefully this is enough information! Thanks very much.
Sean