Report Is Not Change
Posted: Mon Dec 24, 2007 2:46 pm
I Found that StimulReport Have a bug in this Case
I Load a Report From Byte Array In Function A
.
.
Function A()
.
.
report.LoadPackedReport(buff)
.
.
End Function
.
.
And I Use Report In function B More Than One Time
.
.
Function B()
.
.
report.RegData(MyDataSet)
report.Render()
.
.
End Function
.
.
It work in fist time that i call Function B
But When I Call it again it dos not Work .
It throw an exception : "Invalid Parameter" Or "Invalid character in a Base-64 string"
OR It Show Fields In Mistake Position For Example Display "Field Alpha Data" In "Field Beta Position"
I Use Your Offered Code(DataStore.Clear() OR Dictionary.Clear() OR Dictionary.Synchronize() ) And I Check MY Dataset Data Several Times But It's not work Yet
But when I Use This Code :
Function B()
.
.
report.LoadPackedReport(buff)
report.RegData(MyDataSet)
report.Render()
.
.
End Function
it work successfuly but ReLoading the report is Time Consuming . and I can not ReLoad ReportContent every time i want to render the Report.
Please tell me what i should do to solve this problem
Thanks
I Load a Report From Byte Array In Function A
.
.
Function A()
.
.
report.LoadPackedReport(buff)
.
.
End Function
.
.
And I Use Report In function B More Than One Time
.
.
Function B()
.
.
report.RegData(MyDataSet)
report.Render()
.
.
End Function
.
.
It work in fist time that i call Function B
But When I Call it again it dos not Work .
It throw an exception : "Invalid Parameter" Or "Invalid character in a Base-64 string"
OR It Show Fields In Mistake Position For Example Display "Field Alpha Data" In "Field Beta Position"
I Use Your Offered Code(DataStore.Clear() OR Dictionary.Clear() OR Dictionary.Synchronize() ) And I Check MY Dataset Data Several Times But It's not work Yet
But when I Use This Code :
Function B()
.
.
report.LoadPackedReport(buff)
report.RegData(MyDataSet)
report.Render()
.
.
End Function
it work successfuly but ReLoading the report is Time Consuming . and I can not ReLoad ReportContent every time i want to render the Report.
Please tell me what i should do to solve this problem
Thanks