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

Show Blank Chart, if it does not have data

Status
Not open for further replies.

mycrystalbaby

Programmer
Jun 16, 2005
42
US
One of the reports having 12 sub reports within it and each has a chart. When ever sub report does not have the data, it shows the blank space.
I would like to show the blank chart (body for the chart), if it does not have any data.
I checked the option Suppress, it was un- checked for each chart.
Is there anything, I could do here to show blank chart.

 
I don't know of a way to get a chart when there's no data. You can have a display message, in a section that is suppressed unless there is no data.

Right-click on the field and choose Format Field. Choose the [Common] tab, and then the formula icon (x+2 and a pencil) for suppression. Enter a formula; e.g.
Code:
not isnull({your.field})

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 Windows XP & Crystal 10 [yinyang]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top