今天在使用在iReport 5.6.0 设计报表预览的时候出现了:the document has no pages的错误提示。经过查询资料发现,如果想在没有数据时,也出现预览窗口,(假设你的ireport的语言是简体中文的),那就右击报表名称--属性--when
no data,选择 "All sections,no detail"就可以了,如果报表没查出数据,就会显示预览窗口。这个问题是由于报表默认没有查到任何数据时,就会显示the
document has no pages这个提示。下面是截图:
使用iReport 5.6.0 设计报表时提示“the document has no pages”的问题解决
最新推荐文章于 2024-07-26 18:19:15 发布