Variables Non Editable

Stimulsoft BI Server discussion
prolink
Posts: 6
Joined: Fri Dec 23, 2016 7:16 am

Re: Variables Non Editable

Post 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.
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: Variables Non Editable

Post by Alex K. »

Hello,

Please send us a request on support@stimulsoft.com

Thank you.
prolink
Posts: 6
Joined: Fri Dec 23, 2016 7:16 am

Re: Variables Non Editable

Post by prolink »

What request?
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: Variables Non Editable

Post 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.
james.crossley
Posts: 28
Joined: Sun Aug 07, 2011 8:53 pm
Location: Auckland

Re: Variables Non Editable

Post 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
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: Variables Non Editable

Post by Alex K. »

Hello,

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

Thank you.
Post Reply