July 23, 2012 at 5:06 am
Hi everyone,
I have a table that holds the following data:
ProjectCustomerUpdated ByAmount TrailUpdated On
Project 1Customer AUser 1£1,142.0005/01/2012 10:27
Project 1Customer AUser 1£1,839.0005/01/2012 10:59
Project 2Customer BUser 2£121,995.0024/05/2012 09:26
Project 3Customer AUser 2£101,662.0026/06/2012 10:01
Project 4Customer DUser 1£18,191.0014/05/2012 13:40
Project 4Customer DUser 1£46,906.0018/05/2012 13:09
Project 4Customer DUser 2£58,309.0018/06/2012 13:39
Project 4Customer DUser 2£76,500.0019/06/2012 15:44
Project 4Customer DUser 1£88,112.0003/07/2012 14:14
I want only one record per project and per customer based on when each record was last modified (Updated On) regardless of user (updated by), so the I want the results to be:
PProjectCustomerUpdated ByAmount TrailUpdated On
Project 1Customer AUser 1£1,839.0005/01/2012 10:59
Project 2Customer BUser 2£121,995.0024/05/2012 09:26
Project 3Customer AUser 2£101,662.0026/06/2012 10:01
Project 4Customer DUser 1£88,112.0003/07/2012 14:14
Many thanks in advance for your help
July 23, 2012 at 5:34 pm
Adelphi (7/23/2012)
Hi everyone,I have a table that holds the following data:
ProjectCustomerUpdated ByAmount TrailUpdated On
Project 1Customer AUser 1£1,142.0005/01/2012 10:27
Project 1Customer AUser 1£1,839.0005/01/2012 10:59
Project 2Customer BUser 2£121,995.0024/05/2012 09:26
Project 3Customer AUser 2£101,662.0026/06/2012 10:01
Project 4Customer DUser 1£18,191.0014/05/2012 13:40
Project 4Customer DUser 1£46,906.0018/05/2012 13:09
Project 4Customer DUser 2£58,309.0018/06/2012 13:39
Project 4Customer DUser 2£76,500.0019/06/2012 15:44
Project 4Customer DUser 1£88,112.0003/07/2012 14:14
I want only one record per project and per customer based on when each record was last modified (Updated On) regardless of user (updated by), so the I want the results to be:
PProjectCustomerUpdated ByAmount TrailUpdated On
Project 1Customer AUser 1£1,839.0005/01/2012 10:59
Project 2Customer BUser 2£121,995.0024/05/2012 09:26
Project 3Customer AUser 2£101,662.0026/06/2012 10:01
Project 4Customer DUser 1£88,112.0003/07/2012 14:14
Many thanks in advance for your help
You'll get much more timely and better help if you read and heed the article at the first link in my signature line below.
--Jeff Moden
Change is inevitable... Change for the better is not.
July 23, 2012 at 5:43 pm
Viewing 3 posts - 1 through 3 (of 3 total)
You must be logged in to reply to this topic. Login to reply
This website stores cookies on your computer.
These cookies are used to improve your website experience and provide more personalized services to you, both on this website and through other media.
To find out more about the cookies we use, see our Privacy Policy