G
Guest
How can I run a query that only outputs the first (earliest) date of
purchase? I have a table with ID#, Purchase Date, Product ID, and a few other
fields. Each purchase is a new line in the table so one so there could be 20
lines with the same ID# but different purchase dates. I would like a query
that shows the ID# and their first purchase date.
I am running Access 97 and Purchase date is a Date field. I have tried MIN
function and it works when that is the only field populated in the query but
when I try to add ID# it gives e the following error:
“You tried to execute a query that doesn't include the specified expression
as part of an aggregate function or grouping.
Possible cause:
• You didn't enter an aggregate function in the TRANSFORM statement.â€
purchase? I have a table with ID#, Purchase Date, Product ID, and a few other
fields. Each purchase is a new line in the table so one so there could be 20
lines with the same ID# but different purchase dates. I would like a query
that shows the ID# and their first purchase date.
I am running Access 97 and Purchase date is a Date field. I have tried MIN
function and it works when that is the only field populated in the query but
when I try to add ID# it gives e the following error:
“You tried to execute a query that doesn't include the specified expression
as part of an aggregate function or grouping.
Possible cause:
• You didn't enter an aggregate function in the TRANSFORM statement.â€