Can't switch DataTable(DataSet)
Hello @all,
I have a strange problem. I create a report from an Excel sheet. But when printing, the data comes from the database. So I want to swap the DataSet. But it does not work. The following error message:
Error BC30451: "Nameplate_i700" is not declared. The object may not be accessible due to the protection level.
But the DataTable is called like that. I get the name of the table from the report and then use it again. Where is the mistake?
Many Thanks
I have a strange problem. I create a report from an Excel sheet. But when printing, the data comes from the database. So I want to swap the DataSet. But it does not work. The following error message:
Error BC30451: "Nameplate_i700" is not declared. The object may not be accessible due to the protection level.
But the DataTable is called like that. I get the name of the table from the report and then use it again. Where is the mistake?
Many Thanks
Comments
thx
take a look at http://www.fast-report.com/en/forum/?p=/discussion/14767
load report => register data => modify report resource string => prepare => failed
What I do not understand, with a real database connection, e.g. MsSQL or something, you can switch the DataSet.
Only with the CSV connection it does not work
look this code below, first run : data came from embedded connection in frx file and on button1_Click : push datatable to the report, it works well