Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Pull data by Date 1

Status
Not open for further replies.

bdjb

Technical User
Oct 29, 2002
292
US
I am pulling data based upon a date field, now they would like the next full month, plus 14 days (so basically a month and a half). Any pointers on how to do that based upon a date field?

Thanks in advance!
 

This returns 6/15/2012 for today, or any date in April.

dateadd("M",2, minimum(MonthToDate)) + 14

 
Thank you, that gave me the answer I needed. When run anytime during the current month, it will give the next full month plus 14 days

{TODOAPPT.StartDtAct} In dateadd("M",1, minimum(MonthToDate)) to dateadd("M",2, minimum(MonthToDate)) + 14
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top