Page 2 of 2

Re: Variables Non Editable

Posted: Thu Dec 29, 2016 8:25 am
by prolink
Hi

Sorry our client editor version is 2011.3.1200, still locked,

and using the report.Design() function, the virtual studio report not found this function.

please check , thanks again.

Re: Variables Non Editable

Posted: Thu Dec 29, 2016 7:55 pm
by Alex K.
Hello,

Please send us a request on support@stimulsoft.com

Thank you.

Re: Variables Non Editable

Posted: Fri Dec 30, 2016 9:24 am
by prolink
What request?

Re: Variables Non Editable

Posted: Fri Dec 30, 2016 12:03 pm
by Alex K.
Hello,

We have checked all version 2011.x and 2012.x. This code works correctly.
Please check code and screenshot from the previous posts.

Thank you.

Re: Variables Non Editable

Posted: Fri Feb 10, 2017 12:37 am
by james.crossley
Alexy

I had the same issue as prolink.

I downloaded your LockVariableFix program and discovered that didn't work.

I looked at the source code and realised that it doesn't SAVE the report after fixing it!

Code: Select all

StiReport report = new StiReport();
Load(tbStimulReportFile.Text);
foreach (StiVariable variable in report.Dictionary.Variables)
{
    variable.Inherited = false;
}
report.Save(tbStimulReportFile.Text); <======================= ADD
MessageBox.Show("Unlock complete!");
Hope this helps!
James

Re: Variables Non Editable

Posted: Fri Feb 10, 2017 6:53 am
by Alex K.
Hello,

Thank you for the information.
Please let us know if you need any additional help.

Thank you.