G
Guest
Very new to Access.
I have a table named "tblOccurrances" which contains some summary info for
related information contained in a table named "tblTimeEvents". Each
occurrance consist of a number of time events. Each time event contains a
unique date in the field "EventDate".
the primary key to tblOccurrances is called OccurID. The same field is the
linking field between the two tables.
I'd like generate a simple query that would result in a data set that simply
had each OccurID with the first and the last date for that occurrance from
the tblTimeEvent.
Trying to figure it out, I've tried to use a simple two-column query to get
the start date. The first column is simply tbleOccurance.OccurID. for the
second column
I entered: Start Date: Min(tblTimeEvents.EventDate)
This generates an error for not using "OccurID" as part of an aggregate
function.
Is this something that can't be done with a query? I was hoping to build
forms or reports off this information, but I wonder if I need to go the other
way and generate the information off reports.
I have a table named "tblOccurrances" which contains some summary info for
related information contained in a table named "tblTimeEvents". Each
occurrance consist of a number of time events. Each time event contains a
unique date in the field "EventDate".
the primary key to tblOccurrances is called OccurID. The same field is the
linking field between the two tables.
I'd like generate a simple query that would result in a data set that simply
had each OccurID with the first and the last date for that occurrance from
the tblTimeEvent.
Trying to figure it out, I've tried to use a simple two-column query to get
the start date. The first column is simply tbleOccurance.OccurID. for the
second column
I entered: Start Date: Min(tblTimeEvents.EventDate)
This generates an error for not using "OccurID" as part of an aggregate
function.
Is this something that can't be done with a query? I was hoping to build
forms or reports off this information, but I wonder if I need to go the other
way and generate the information off reports.