我有一份BIRT报告,在我改变连接的数据库之前一直工作正常。我从数据库中的表中删除了一列,并在我的数据查询中删除了对它的任何调用,现在每当我尝试生成BIRT报告时,我都会收到此错误。
The following items have errors:
Data (id = 291):
+ Column binding "isComplete_18" has referred to a data set column "isComplete_18" which does not exist. (Element ID:291)
Data (id = 298):
+ Column binding "isComplete_18" has referred to a data set column "isComplete_18" which does not exist. (Element ID:298)
Data (id = 292):
+ Column binding "isComplete_18" has referred to a data set column "isComplete_18" which does not exist. (Element ID:292)
Data (id = 299):
+ Column binding "isComplete_18" has referred to a data set column "isComplete_18" which does not exist. (Element ID:299)
Data (id = 293):
+ Column binding "isComplete_18" has referred to a data set column "isComplete_18" which does not exist. (Element ID:293)
Data (id = 300):
+ Column binding "isComplete_18" has referred to a data set column "isComplete_18" which does not exist. (Element ID:300)
Data (id = 585):
+ Column binding "isComplete_18" has referred to a data set column "isComplete_18" which does not exist. (Element ID:585)
Table (id = 443):
+ Column binding "name_19" has referred to a data set column "name_19" which does not exist. (Element ID:443)
Data (id = 583):
+ Column binding "isComplete_18" has referred to a data set column "isComplete_18" which does not exist. (Element ID:583)
谷歌搜索没有出现太多其他未解决的问题,我不知道如何继续。我已经在phpmyadmin中测试了查询,它返回了预期的结果,但是在BIRT中我什么都没得到。有什么想法吗?
答案 0 :(得分:6)
您很可能在报告XML文件中引用了已删除的列,转到XML视图并搜索:“isComplete_18”,“name_19”,并删除包含该字符串的每个xml元素。
手动删除对两列的每个引用后,再次重新运行报告...
答案 1 :(得分:1)
我遇到过这个问题一次。看来(不完全确切)报告是绑定列,当您更改数据库或更改DataSet上的某些内容时不再存在(对我来说这是第二种情况)。
我试过这个并为我工作:
希望它可以帮到你!
答案 2 :(得分:0)
转到表格的属性编辑器。然后绑定选项卡。数据列绑定下的绑定仍然链接到您引用的旧列。
答案 3 :(得分:0)
我所做的是,在XML源中搜索该元素并将其删除。