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

Need formula: Print the month that is the date range 2

Status
Not open for further replies.

loveyoursite

Technical User
Apr 14, 2005
100
US
CRV 10. I would appreciate someone's help with a formula. I have a report with a date range. I would like the title of the report to contain the month and year text that relates to that date range.

For example, if the date range is 4-1-05 to 4-30-05, I would like in the title: APRIL 2005 Monthly Report.

Another example, if the date range is 11-09-2004 to 11-30-2004, I would like in the title: NOVEMBER 2004 Monthly Report.

Thanks a lot!
 
Assuming that the data range is a parameter, {?daterange}, try this

Code:
ToText(min({?daterange},"MMMM yyyy")) + " Monthly Report"

-LW

 
Sorry.... the report has 2 parameters prompting the user to enter: {?startdate} and {?stopdate}. When I use one of them in the formula it says "This field cannot be summarized".
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top