expression in Text property of 'DataText2' can't be evaluated! The name 'Table' does not exist in the current context
expression in Text property of 'DataText2' can't be evaluated! The name 'Table' does not exist in the current context
Hi Team,
When I'm changing the template databand with the new datasource, Getting error at the Databand Text...
Attached Sample Project for reference.
Kindly reply ASAP.....
When I'm changing the template databand with the new datasource, Getting error at the Databand Text...
Attached Sample Project for reference.
Kindly reply ASAP.....
- Attachments
-
- Dyanmic Report Sample Project.zip
- (19.41 MiB) Downloaded 151 times
-
- Posts: 6263
- Joined: Tue Mar 20, 2018 5:34 am
Re: expression in Text property of 'DataText2' can't be evaluated! The name 'Table' does not exist in the current contex
Hello,
Please send us test data (sql) for your report.
Thank you.
Please send us test data (sql) for your report.
Thank you.
Re: expression in Text property of 'DataText2' can't be evaluated! The name 'Table' does not exist in the current contex
Hi Lech,
The test data is present in same Sample Project with File Name: SampleJSON.JSON
Reattaching the same here....
Please go through it and do the needful.
The test data is present in same Sample Project with File Name: SampleJSON.JSON
Reattaching the same here....
Please go through it and do the needful.
- Attachments
-
- SampleJSON.JSON
- Test Data
- (24.72 KiB) Downloaded 148 times
-
- Posts: 6263
- Joined: Tue Mar 20, 2018 5:34 am
Re: expression in Text property of 'DataText2' can't be evaluated! The name 'Table' does not exist in the current contex
Hello,
Sorry, we do not exactly understand the logic of your sample.
Please check the following sample:
https://www.stimulsoft.com/en/samples/r ... -from-code
Thank you.
Sorry, we do not exactly understand the logic of your sample.
Please check the following sample:
https://www.stimulsoft.com/en/samples/r ... -from-code
Thank you.
e.interaction.isDefault is not a function
Hi Lech,
Thanks for the prompt reply...
In the attached file, I have explained each and every line working of my code for your detailed reference. (File Name: Dynamic Report.html)
Here, I'm using template of one report and creating a new report with that report Properties and JSON data provided.
We are getting the error as "e.interaction.isDefault is not a function" while rendering the report
Thanks in Advance.....
Thanks for the prompt reply...
In the attached file, I have explained each and every line working of my code for your detailed reference. (File Name: Dynamic Report.html)
Here, I'm using template of one report and creating a new report with that report Properties and JSON data provided.
We are getting the error as "e.interaction.isDefault is not a function" while rendering the report
Thanks in Advance.....
- Attachments
-
- Dyanmic Report Sample Project.zip
- (19.41 MiB) Downloaded 197 times
-
- Posts: 6263
- Joined: Tue Mar 20, 2018 5:34 am
Re: expression in Text property of 'DataText2' can't be evaluated! The name 'Table' does not exist in the current contex
Hello,
In the sent report is used SQL connection with your connection string. We do not have that data and could run your report in the viewer.
Also, please check your code in the designer. And the select block of code causes the error.
Thank you.
In the sent report is used SQL connection with your connection string. We do not have that data and could run your report in the viewer.
Also, please check your code in the designer. And the select block of code causes the error.
Thank you.
- Attachments
-
- Screenshot 2023-05-03 153604.png (695.87 KiB) Viewed 9170 times
Re: expression in Text property of 'DataText2' can't be evaluated! The name 'Table' does not exist in the current contex
Hi Lech,
Thanks for the prompt reply,
Actually, SQL connection is not causing any error in above, we are trying to add extra columns to the existing template is causing error....
You can see attached sample report for which I have rendered report with the same json data...It works well in that case...
while adding new columns to the existing report is causing error.
Hope you understood the actual cause of issue.
Thank You
Thanks for the prompt reply,
Actually, SQL connection is not causing any error in above, we are trying to add extra columns to the existing template is causing error....
You can see attached sample report for which I have rendered report with the same json data...It works well in that case...
while adding new columns to the existing report is causing error.
Hope you understood the actual cause of issue.
Thank You
- Attachments
-
- Dyanmic Report Sample Project.zip
- Working report
- (19.41 MiB) Downloaded 191 times
-
- Posts: 6263
- Joined: Tue Mar 20, 2018 5:34 am
Re: expression in Text property of 'DataText2' can't be evaluated! The name 'Table' does not exist in the current contex
Hello,
The error cause a selected block of code with a Header.
Thank you.
The error cause a selected block of code with a Header.
Thank you.