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

0

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 months 4 weeks ago

1 Answer:

0

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
247
Joined: Jun 10 2010 - 6:39am
Last seen: 20 hours 6 min ago
Feedback