Page 1 of 2
Variables Non Editable
Posted: Thu Jun 16, 2016 9:38 am
by jyotsnatyagi
Hi
I am using Stimulsoft version "SR_2015.01.16".
While I am open save report with version SR_2015.01.16 in the same version of stimulsoft, then all variables fields display with Lock icon
and that time those are not editable and i could not delete the variable with lock icon.
Could you pleas help me how to resolved this and can edit variables.
Re: Variables Non Editable
Posted: Thu Jun 16, 2016 12:42 pm
by Alex K.
Hello,
The issue was in one of last builds but in the new release 2015.3 was fixed. But variables created in this build need change. You can manually edit mrt file in notepad or use the tool in the attachment.
Also you can use the following code:
Code: Select all
foreach (StiVariable variable in report.Dictionary.Variables)
{
variable.Inherited = false;
}
Thank you.
Re: Variables Non Editable
Posted: Fri Dec 23, 2016 7:27 am
by prolink
i using this tool, but not use,
my report was created by 2016.2 , but i want to edit it by 2012.1,
how can i do?
Re: Variables Non Editable
Posted: Fri Dec 23, 2016 11:30 am
by Alex K.
Hello,
Sorry, maybe we did not exactly understand your question. Could you explain your issue in more details?
Thank you.
Re: Variables Non Editable
Posted: Mon Dec 26, 2016 3:30 am
by prolink
Hello
my report editor show this
i surveyed this topic, and find LockVariableFix.zip
but it's not used, how can i resolve it?
Re: Variables Non Editable
Posted: Mon Dec 26, 2016 6:03 am
by Alex K.
Hello,
You can use the following code to fix locked variables:
Code: Select all
foreach (StiVariable variable in report.Dictionary.Variables)
{
variable.Inherited = false;
}
Thank you.
Re: Variables Non Editable
Posted: Mon Dec 26, 2016 6:30 am
by prolink
Hello
i was used it, but still locked.
and i compare two(before and use after) file's code are same
Re: Variables Non Editable
Posted: Mon Dec 26, 2016 1:02 pm
by Alex K.
Hello,
Please send us your report for analysis.
Thank you.
Re: Variables Non Editable
Posted: Tue Dec 27, 2016 1:05 am
by prolink
Here is my report file. thanks
Re: Variables Non Editable
Posted: Tue Dec 27, 2016 6:48 am
by Alex K.
Hello,
We couldn't reproduce this bug.
Please see screenshot in the attachment.
Thank you.