Hi
I have 5 different fields that contain dates of different stages of a training process.
What I need is query that returns the latest date accross 5 fields
So I need a query that tells me the lastest date from the fields, stage 1, stage 2, stage 3 etc
If stage 1contained 28,09,09, and stage 2 contained 29,09,09 then I want the query to return "29,09,09"
I hope that makes sense, I have attached the sql view, however this just contains the fields I have selected
SELECT Details.[Learner ID], Details.First, Details.Last, Details.[Current Stage], Details.[Stage 1], Details.[Stage 2], Details.[Stage 3], Details.[Stage 4], Details.[Stage 5]
FROM Details
GROUP BY Details.[Learner ID], Details.First, Details.Last, Details.[Current Stage], Details.[Stage 1], Details.[Stage 2], Details.[Stage 3], Details.[Stage 4], Details.[Stage 5];
I have 5 different fields that contain dates of different stages of a training process.
What I need is query that returns the latest date accross 5 fields
So I need a query that tells me the lastest date from the fields, stage 1, stage 2, stage 3 etc
If stage 1contained 28,09,09, and stage 2 contained 29,09,09 then I want the query to return "29,09,09"
I hope that makes sense, I have attached the sql view, however this just contains the fields I have selected
SELECT Details.[Learner ID], Details.First, Details.Last, Details.[Current Stage], Details.[Stage 1], Details.[Stage 2], Details.[Stage 3], Details.[Stage 4], Details.[Stage 5]
FROM Details
GROUP BY Details.[Learner ID], Details.First, Details.Last, Details.[Current Stage], Details.[Stage 1], Details.[Stage 2], Details.[Stage 3], Details.[Stage 4], Details.[Stage 5];