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

Formula to always print

Status
Not open for further replies.

kv444

Programmer
Nov 20, 2011
23
0
0
US
Hi,

Could some one please let me know how i can write a formula to always print a block of text in the report even though that block of text is not selected to print through the application


Thanks
 
You can include blocks of text in a formula field, either as text or conditional, e.g.
Code:
if Month(Currentdate) = 12 and Day(currentdate) = 25
then "This week you have " & ToText(@Your_Count, 0) & " instances.  Merry Christmas"
else "This week you have " & ToText(@Your_Count, 0) & " instances."

You can also have text in your report, and formula fields can be set to grow if they need more space.

Does that help. If not, please explain more about what you're after.

This is based on Crystal 11. It helps to give your Crystal version - 8, 8.5, 9, 10, 11 or whatever. Methods sometimes change between versions, and higher versions have extra options.


[yinyang] Madawc Williams (East Anglia, UK). Using Crystal 11.5 with SQL and Windows XP [yinyang]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top