I have a simple query that has 4 fields, they are as follows:
Number
type
maxofdate
numberofdays - which is a calculated field to show how many days has passed since the record was last updated.
I have a continuous form that uses this query and all works fine except when the "type" changes from one update to the next.
There are 2 "types"...an A type and a B type. Lets say i have the following in my table:
104 A 1/20/2011 5
110 A 1/20/2011 5
104 B 1/25/2011 0
110 A 1/25/2011 0
Using the "MaxOfDate" i would expect the output on the form to be:
110 A 1/25/2011
104 B 1/25/2011
But instead it seems because the type is B the result is
104 A 1/20/2011
110 A 1/20/2011
104 B 1/25/2011
Regardless of what the "type" is i want to only show the date last updated.
I hope this made sense, can anyone help?
Paul
Number
type
maxofdate
numberofdays - which is a calculated field to show how many days has passed since the record was last updated.
I have a continuous form that uses this query and all works fine except when the "type" changes from one update to the next.
There are 2 "types"...an A type and a B type. Lets say i have the following in my table:
104 A 1/20/2011 5
110 A 1/20/2011 5
104 B 1/25/2011 0
110 A 1/25/2011 0
Using the "MaxOfDate" i would expect the output on the form to be:
110 A 1/25/2011
104 B 1/25/2011
But instead it seems because the type is B the result is
104 A 1/20/2011
110 A 1/20/2011
104 B 1/25/2011
Regardless of what the "type" is i want to only show the date last updated.
I hope this made sense, can anyone help?
Paul