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!

How to find the last day of a quarter?

Status
Not open for further replies.

samaba

MIS
Jan 26, 2005
106
US
Hello Everyone,

What I need to find is the Quarter Ending Date.

The situation is:
The report is based on a [qryCalculations], with parameters from a custom dialog box:
What Quarter? [txtQuarter]
What Year? [txtYear]

The query filters down the records if they were either opened or closed during the specified quarter.

I also use the above information for the Sum(iif(datepart() )) statements to count the cases opened [opendate] or closed [closeddate]during that quarter.


I have gone round and round trying to figure out how I can get this information from what I already asked the user. . .

Thanks in Advance!
 
Feel Really Dumb now!!

I just ask for the Quarter Ending Date and use the datepart() to get the other two pieces I need. . .


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top