A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » New Users
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Calculating Months



 
 
Thread Tools Display Modes
  #1  
Old May 13th, 2005, 09:06 PM
Kath via AccessMonster.com
external usenet poster
 
Posts: n/a
Default Calculating Months

I am working on exporting information from another system. One of the
queries I need to write includes data from 15 months prior to present date.
How do I write this in SQL to only include information no older than 15
months?

Any help would be greatly appreciated.

--
Message posted via http://www.accessmonster.com
  #2  
Old May 13th, 2005, 10:13 PM
Douglas J. Steele
external usenet poster
 
Posts: n/a
Default

No older than 15 months prior to today? The criteria would be =
DateAdd("m", -15, Date())

--
Doug Steele, Microsoft Access MVP
http://I.Am/DougSteele
(no e-mails, please!)



"Kath via AccessMonster.com" wrote in
message news:bd6f3180bb214cdc8d30aa6732191c9c@AccessMonste r.com...
I am working on exporting information from another system. One of the
queries I need to write includes data from 15 months prior to present
date.
How do I write this in SQL to only include information no older than 15
months?

Any help would be greatly appreciated.

--
Message posted via http://www.accessmonster.com



 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Fiscal Year Calculations Loretta Worksheet Functions 5 August 19th, 2004 09:05 PM
Calculating absence periods in a rolling 12 months in excel Mark General Discussion 3 June 16th, 2004 07:58 PM
calculating years and months between 2 dates Frank Kabel Worksheet Functions 1 April 15th, 2004 11:01 PM


All times are GMT +1. The time now is 04:15 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.