L
Lurch
Hi there! I sure hope that you can help me as I've wasted a TON of time
trying to figure this out.
Let's say I have four date fields in a table. One field may have a date or
two fields may have dates, up to all four. Let's call them Date1, Date2,
Date3, Date4. These are dates that my project was approved but based upon
it's cost the approval goes all the way 'up the line' to Date4 if the "Big
Guy's" approval was needed.
What I need to know is the "Absolute" date the approval was given.
How would I code a function (preferable) or create a query that would look
at Date4 first. If there is a date in Date4 then put that value in a field
called [dtmApproved_Final_Date]. If there is nothing in Date4 then look in
Date3. If there is a date in Date3 then put that value in a field called
[dtmApproved_Final_Date]. If nothing in Date3 then look in Date2 and so on.
Lastly (thanks for sticking with me here), how do I get this to put the
Final Approved Date value into a table with the [dtmApproved_Final_Date]
field? I would prefer this value to be placed into the same table as the 4
date fields are in. Is that possible?
Any help would be GREATLY appreciated.
Thanks Guys!
Tony
trying to figure this out.
Let's say I have four date fields in a table. One field may have a date or
two fields may have dates, up to all four. Let's call them Date1, Date2,
Date3, Date4. These are dates that my project was approved but based upon
it's cost the approval goes all the way 'up the line' to Date4 if the "Big
Guy's" approval was needed.
What I need to know is the "Absolute" date the approval was given.
How would I code a function (preferable) or create a query that would look
at Date4 first. If there is a date in Date4 then put that value in a field
called [dtmApproved_Final_Date]. If there is nothing in Date4 then look in
Date3. If there is a date in Date3 then put that value in a field called
[dtmApproved_Final_Date]. If nothing in Date3 then look in Date2 and so on.
Lastly (thanks for sticking with me here), how do I get this to put the
Final Approved Date value into a table with the [dtmApproved_Final_Date]
field? I would prefer this value to be placed into the same table as the 4
date fields are in. Is that possible?
Any help would be GREATLY appreciated.
Thanks Guys!
Tony