Date Query question

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I am trying to write a query that will give me 90 days from a certian point;
90 Days Out: DateAdd("d",-90,[ETS]), (ets is the date when someone is
leaving), this gives me all the days, but how do I write it so that I only
get days that are 90 days from the date they are leaving.
 
I am trying to write a query that will give me 90 days from a certian point;
90 Days Out: DateAdd("d",-90,[ETS]), (ets is the date when someone is
leaving), this gives me all the days, but how do I write it so that I only
get days that are 90 days from the date they are leaving.

Do you mean:

Exactly 90 days, e.g. not 89, not 91, but only the 90th day

or

After 90 days have elapsed?

If the latter (as I guess) use a criterion of
= DateAdd("d", 90, [ETS])

The -90 will find dates 90 days BEFORE the ETS date.

John W. Vinson[MVP]
 
David,
Based on the fact that you are using ETS, I am assuming you are in the
Army. What kind of DB are you trying to create? I too am in the Army.

Wally Steadman
US Army in Iraq
 
I am trying to work on a reenlistmen DB that would show me when a soldier is
90 days from their open window. I to am currently in Iraq, Mosul.

Walter Steadman said:
David,
Based on the fact that you are using ETS, I am assuming you are in the
Army. What kind of DB are you trying to create? I too am in the Army.

Wally Steadman
US Army in Iraq


David said:
I am trying to write a query that will give me 90 days from a certian
point;
90 Days Out: DateAdd("d",-90,[ETS]), (ets is the date when someone is
leaving), this gives me all the days, but how do I write it so that I only
get days that are 90 days from the date they are leaving.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top