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

Formatting 1

Status
Not open for further replies.

klaidlaw

Programmer
May 28, 2008
140
US
I am using Crystal Reports 11 release 2.

I would like to make a heading that says "Gross Sales for "minimum date - maximum date" I have that set up but they way the fields are it gives the time too and I don't want that so it says right now

Gross Sales for 1/15/2009 12:00 AM - 6/30/2009 12:00 AM

I want it to look like

Gross Sales for 1/15/2009 - 6/30/2009

Currently my formula looks like this
"Gross Sales for " + totext(minimum({Table.Field})) + " - " + totext(maximum({Table.Field}))

I would appreciate any help thanks!!
 
Gross Sales for " + totext(minimum({Table.Field}),"M/dd/yyyy") + " - " + totext(maximum({Table.Field}),"M/dd/yyyy")

-LB
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top