Page 1 of 1

migrating from 2006 to 2009

Posted: Wed May 13, 2009 6:16 am
by abhi_svks
Hi,
We are in the process of migrating from 2006 to 2009.
We met,
1. startnewpage
2. In Databand keepheadertogether, keepfootertogether,... properties are not working.
3. Even if we change the property, existing code like startnewpage is still residing.
4. In Text Component, condition property e.Value is not working.

Still getting errors and doing workaround.

If anyone in similar work, pls post and suggest solutions here.

Regards

Kamaraj.P

migrating from 2006 to 2009

Posted: Thu May 14, 2009 6:03 am
by Jan
Hello Kamaraj,
We are in the process of migrating from 2006 to 2009.
Really you upgrade from your reports from EngineV1 to EngineV2. So you need use some new properties:
1. startnewpage
Please use NewPageBefore, NewPageAfter, NewColumnBefore and NewColumnAfter properties.
2. In Databand keepheadertogether, keepfootertogether,... properties are not working.
All this properties in EngineV2 moved to HeaderBand, FooterBand and etc. Please check it.
3. Even if we change the property, existing code like startnewpage is still residing.
Sorry i don't understand your request. Please explain it in more details.
4. In Text Component, condition property e.Value is not working.
Sorry you can't use e.Value property in conditions. This is not documented feature in version 2006.4.

Thank you.

migrating from 2006 to 2009

Posted: Mon May 18, 2009 2:04 am
by abhi_svks
HI,

If we are not passing value of a Variable, its just displaying "" empty quotes.

In Some reports if we try to save as pdf, xls, dbf,... its saving empty file.

startnewpage property is removed in V2, but in my mrt, the code having startnewpage.
Its not removed in coding, scripting part.

If anyother people are in same migration process, pls post it here.

Regards
Kamaraj.P :biggrin:

migrating from 2006 to 2009

Posted: Mon May 18, 2009 2:17 am
by abhi_svks
Hi,

rptobject.Load(mrtFile)
rptobject.RegData(dsreport)
If Not DelPageIndex Is Nothing Then
If DelPageIndex.Count 0 Then
Dim i As Integer
For i = 0 To DelPageIndex.Count - 1
rptobject.Pages(DelPageIndex(i)).Enabled = False
Next
End If
End If
rptobject.Compile()

compilation is necessary?

Also, On what ways we can improve the speed of report and rendering?
mrt as a DLL and NGEN will help?

Regards
Kamaraj.P

migrating from 2006 to 2009

Posted: Mon May 18, 2009 3:18 am
by Jan
Hello Kamaraj,
If we are not passing value of a Variable, its just displaying "" empty quotes.
It depend from type of this variable and from method which you are use for assigning values. Please provide more details.
In Some reports if we try to save as pdf, xls, dbf,... its saving empty file.
Please send mdc file for reports with this problem to support@stimulsoft.com. Please include link to this topic into EMail.
startnewpage property is removed in V2, but in my mrt, the code having startnewpage.
Its not removed in coding, scripting part.
It depend from engine version. If you report used EngineV1 then you can continue work with EngineV1.

Thank you.