Page 1 of 1

PreRelease 2010.02.22 R2005 Variable problem

Posted: Wed Feb 24, 2010 10:17 am
by JockeD
Hello,

I just tried the lates prerelease version 2010.02.22 R2005.
However I found a problem when adding a variable from code.

If I add a variable from code it look's strange in the web designer and I get an error if I try to preview.

Code: Select all


myVariable = New Dictionary.StiVariable
myVariable.Category = "Category"
myVariable.Name = "VariableName"
myVariable.Alias = "VariableAlias"
myVariable.Type = GetType(String)
myVariable.Value = "Test String"
myReport.Dictionary.Variables.Add(myVariable)

Please see attached image from the designer

Thank's Joakim

PreRelease 2010.02.22 R2005 Variable problem

Posted: Thu Feb 25, 2010 9:13 am
by Vladimir
Hello,

Error is fixed, patch will be available in next build.

Thank you.

PreRelease 2010.02.22 R2005 Variable problem

Posted: Thu Feb 25, 2010 9:40 am
by JockeD
Thank you,

Do you know when the next prerelease will be available?

PreRelease 2010.02.22 R2005 Variable problem

Posted: Thu Feb 25, 2010 9:43 am
by Vladimir
The next prerelease build will be available on March, 1

Thank you.

PreRelease 2010.02.22 R2005 Variable problem

Posted: Fri Mar 05, 2010 3:24 am
by JockeD
Hello,

I downloaded the latest version.
But I'm afraid there is another problem.

If I try to create a variable in a category from code I get an error 'The Type Report already contains a definition for variable'

Regards Joakim

PreRelease 2010.02.22 R2005 Variable problem

Posted: Fri Mar 05, 2010 6:46 am
by Andrew
Dear Joakim,

Please show us a code how do you create variables.

Thank you.

PreRelease 2010.02.22 R2005 Variable problem

Posted: Fri Mar 05, 2010 7:15 am
by JockeD
Hello,

I'm not in front of my dev machine right now but I belive the problem is adding a category from code.
I just use

Code: Select all

myReport.Dictionary.Variables.Add("Category")
The variable is declared as above.
If you need more info please let me know.

Regards Joakim

PreRelease 2010.02.22 R2005 Variable problem

Posted: Mon Mar 08, 2010 4:41 am
by Jan
Hello Joakim,

Thank you for your bug report. Patch will be available in build from 9 March.

Thank you.