Page 1 of 1
Version 2019.2.3 set variables valueObject keep null
Posted: Mon Apr 08, 2019 10:18 am
by trcadmin
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
Re: Version 2019.2.3 set variables valueObject keep null
Posted: Mon Apr 08, 2019 7:01 pm
by Lech Kulikowski
Hello,
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
Posted: Tue Apr 09, 2019 1:17 am
by trcadmin
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
Re: Version 2019.2.3 set variables valueObject keep null
Posted: Fri Apr 12, 2019 8:26 am
by HighAley
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.
Re: Version 2019.2.3 set variables valueObject keep null
Posted: Tue Apr 16, 2019 4:09 am
by trcadmin
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.
Re: Version 2019.2.3 set variables valueObject keep null
Posted: Wed Apr 17, 2019 4:13 pm
by Lech Kulikowski
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.
Re: Version 2019.2.3 set variables valueObject keep null
Posted: Fri Jul 19, 2019 8:19 pm
by HighAley
Hello,
We have made an improvement.
Please, check our next build.
Thank you.