Hi,
Here is the code which run well in version 2018.3.3.
report.dictionary.variables.getByName("id").valueObject = 24.01;
When i debug the valueObject keep getting null.
Thank you for your help.
Seng
Version 2019.2.3 set variables valueObject keep null
-
- Posts: 6266
- Joined: Tue Mar 20, 2018 5:34 am
Re: Version 2019.2.3 set variables valueObject keep null
Hello,
We couldn't reproduce the issue.
Please send us a sample which reproduces the issue for analysis.
Thank you.
We couldn't reproduce the issue.
Please send us a sample which reproduces the issue for analysis.
Thank you.
Re: Version 2019.2.3 set variables valueObject keep null
Hi,
I'm trying to pass variable to execute the store procedure as below.
exec storeprocedurename {id}
When passing parameter on code we should code like below, but it keep get null value on latest Version 2019.2.3.
Previous version can get the value.
var report = new window.Stimulsoft.Report.StiReport();
report.dictionary.variables.getByName("id").valueObject = 24.01;
Hope u can understand. Thank you.
Seng
I'm trying to pass variable to execute the store procedure as below.
exec storeprocedurename {id}
When passing parameter on code we should code like below, but it keep get null value on latest Version 2019.2.3.
Previous version can get the value.
var report = new window.Stimulsoft.Report.StiReport();
report.dictionary.variables.getByName("id").valueObject = 24.01;
Hope u can understand. Thank you.
Seng
Re: Version 2019.2.3 set variables valueObject keep null
Hello.
When you create a new report instance there is no any variable in it.
You should load a report template with the variable or create the variable.
Thank you.
When you create a new report instance there is no any variable in it.
You should load a report template with the variable or create the variable.
Thank you.
Re: Version 2019.2.3 set variables valueObject keep null
Hi,
Yes, I have created a variable in the report template which name it as 'id'.
The issue is i cant set the variable value as below:-
report.dictionary.variables.getByName("id").valueObject
It keep return null value.
Thank you.
Yes, I have created a variable in the report template which name it as 'id'.
The issue is i cant set the variable value as below:-
report.dictionary.variables.getByName("id").valueObject
It keep return null value.
Thank you.
-
- Posts: 6266
- Joined: Tue Mar 20, 2018 5:34 am
Re: Version 2019.2.3 set variables valueObject keep null
Hello,
Please show us your code to load and run a report or send us a sample which reproduces the issue for analysis.
Thank you.
Please show us your code to load and run a report or send us a sample which reproduces the issue for analysis.
Thank you.
Re: Version 2019.2.3 set variables valueObject keep null
Hello,
We have made an improvement.
Please, check our next build.
Thank you.
We have made an improvement.
Please, check our next build.
Thank you.