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 bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Date Formula (Criteria)

Status
Not open for further replies.

Noah114

Technical User
Mar 31, 2005
59
US
Is there a way that I can create a formula in access where all I need to do is enter in a end date, and the start date will automatically be generated by end date minus 45 days. I currently use

Between [StartDate] And DateAdd("s",-1,CDate(Int(CDbl(DateAdd('d',1,[EndDate])))))

which works excellent.
 
Between ([EndDate]-45) And [EndDate]

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886
 
Hi,

I tried however get a circular error
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top