Create two blank rows by default if the query return any record

Hii,

I have a jasper table i fill it with a query which always return 2 rows 

I wanna if the query return 0 record create two blank rows by default

 

result if query return records

What table show when query return 0 record 

What table show when query return 0 record

I wanna this result if the query return 0 record

I wanna this result if the query return 0 record

 

Thanks ,

 

 

 

 
redaazizi's picture
Joined: Dec 12 2019 - 2:30am
Last seen: 2 years 11 months ago

1 Answer:

In a table object, you can't add fake rows.  I think you will need to modify your query to be a UNION and add two empty rows to your recordset.

jgust's picture
5526
Joined: Jun 10 2010 - 6:39am
Last seen: 9 hours 3 min ago
Feedback
randomness