ms_access_00
Registered User.
- Local time
- Today, 12:03
- Joined
- Sep 20, 2012
- Messages
- 14
Hi
I have a table with a 200 project codes and four seperate date fields for each project. For example:
Project¦ Date1 ¦ Date2 ¦ Date3 ¦ Date4 ¦
F12345 10/01 24/02 04/05
19/07
Not every date will be populated. So some projects may only have the first two date fields populated.
How can I write a query to return the latest date for each project?
I have a field called LatestDate that I want to update with the date.
I tried writing an update query that would check to see if Date4 is null and then move to Date3 and so on but it does not work.
I have a table with a 200 project codes and four seperate date fields for each project. For example:
Project¦ Date1 ¦ Date2 ¦ Date3 ¦ Date4 ¦
F12345 10/01 24/02 04/05
19/07
Not every date will be populated. So some projects may only have the first two date fields populated.
How can I write a query to return the latest date for each project?
I have a field called LatestDate that I want to update with the date.
I tried writing an update query that would check to see if Date4 is null and then move to Date3 and so on but it does not work.