Hi there,
I have a table, which has an order number, a comment & a date the comment was added.
Therefore you could have 3 or 4 comments against one order number. All I want to do is create a table via a query which takes my existing table and shows me the latest comment based on the date. So for example, if there are two comments for an order, one done today and one yesterday I want my query to show me only the comment done today.
I thought this would be easy, but when I use the MAX on the date on the query designer I am still getting two rows of data for some orders.
I just can't seem to get my head around what I am doing wrong.
					I have a table, which has an order number, a comment & a date the comment was added.
Therefore you could have 3 or 4 comments against one order number. All I want to do is create a table via a query which takes my existing table and shows me the latest comment based on the date. So for example, if there are two comments for an order, one done today and one yesterday I want my query to show me only the comment done today.
I thought this would be easy, but when I use the MAX on the date on the query designer I am still getting two rows of data for some orders.
I just can't seem to get my head around what I am doing wrong.
Comment