Jump to content
Changes to the Jaspersoft community edition download ×

Show a band or text if an empty table


jsutherland_1

Recommended Posts

I am using a "table only" report.  No other bands exists and no other objects exists except the table.  The reports purpose is to fill a strickly column related data set so it can be exported to Excel without titles or page footers.  The report works well.  The export function creates a Excel file that only contains column data without any other text or merged cells. 

Works great unless the result set is empty based on the user's entry of parameters.  Then JS show blank or our interface with JIVE shows a blank section on the web page.

I've read other entries that appear to be hacks on how to get something to show on the report if the table is empty, like running the query in the main data set to get the record numbers only.  This woudl be unacceptable from a performance standpoint as it may return thousands of rows. 

Is there a way to indicate that the table's data set returned 0 rows, is emtpy and then either enable a band that I'm missing?

Any help would be deeply appreciated.

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...