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

Crystal Reports Uppercase Special Fields

Status
Not open for further replies.

crdamsel

Programmer
Aug 7, 2013
33
US
Help, please...How can i UPPERCASE the Special Fields such as Data Date and Page N of M in my report? Can't create a formula using the UpperCase() function because these Special Fields don't show up in Formula Editor or Format Field.
 
Appreciate this but where in the report is this used?
 
You could put Ido's code into a Formula and place it in the Page Footer.

Alternatively, you could drag the Special Field onto the report canvas, right click the field and select Format Field, go to the Common tab, click on the X2 button to the right of Display String, and enter the following code:

Code:
UpperCase(CurrentFieldValue)


Hope this helps
Pete
 
And by the way, DataDate can be found in the Formula Editor under the Function group called Document Properties. PageNofM is under the Function group called Print State.

Cheers
Pete
 
Thank you so much. Should have known that Data Date and Page N of M would be somewhere in Formula Editor and using Display String in the Common tab is a great shortcut. Well, changing Page N of M to UpperCase works perfectly but Data Date becomes a numeric field, 8/30/2013 which i need it to look like 30-AUG-2013. By the way, not that it really makes much of a difference but i need to change Print Date and not Data Date to UpperCase.
 
This thread is closed. Used this ... ToText(Day(PrintDate),0,"") & "-" & UpperCase(ToText(PrintDate,"MMM")) & "-" & ToText(Year(PrintDate),0,"") in the Display String of the Common tab and it works. Appreciate everyone for all your help.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top